i have 2 addresses that have same R value
I assume by this you mean you have two transactions which are sending coins from two different addresses but use the same r value.
The answer in that case is you cannot recover the private keys. To do this you need at least two transactions which are using the same private key and reuse the same r value. You cannot use two transactions with different private keys but the same r value.
yes correct
i have recovered privatekey address 1
but i can't recover privatekey address 2...
m1 scalar:0x......................
m2 scalar:0x......................
r scalar:0x.......................
s1 scalar:0x......................
s2 scalar:0x.......................
k scalar:0x.......................
x1 scalar:0x = to x2
x2 scalar:0x = to x1
i have checked this old post
https://bitcoin.stackexchange.com/questions/37673/same-r-value-is-used-for-two-different-addresses-finding-z1-and-z2-value-and-prand have recovered privatekey 1 and privatekey 2