Finding (P,P+2) Primes in R, I tried like this
twinPrimes(1,100)
[,1] [,2]
[1,] 3 5
[2,] 5 7
[3,] 11 13
[4,] 17 19
[5,] 29 31
[6,] 41 43
[7,] 59 61
[8,] 71 73
I got the answer. But this command will work only upto finding 100000 after that also I'm getting the answer but still some error like this
[ reached getOption("max.print") -- omitted 3169 rows ]
How to avoid this?