I run some R
simulation I wrote before now but gets different results from same version of R
. I tried such simulation on a web interface and I got the previous result. What must have changed on my windows 10?
set.seed(1)
rnorm(20)
#[1] -0.62645381 0.18364332 -0.83562861 1.59528080 0.32950777 -0.82046838
#[7] 0.48742905 0.73832471 0.57578135 -0.30538839 1.51178117 0.38984324
#[13] -0.62124058 -2.21469989 1.12493092 -0.04493361 -0.01619026 0.94383621
#[19] 0.82122120 0.59390132
as against my new result
#[1] 0.46081080 1.34310205 0.99716829 -0.36762421 -0.13198270 1.77709933 -0.46426860 -0.17384681 -0.40401399
#[10] 1.41481488 0.03121604 -1.28415064 0.58393330 -2.06891059 0.12002295 -3.25983598 -0.41697647 -0.51721040
#[19] 0.89266537 1.33231147
I triad same on a mobile app called
R compiler
I got exactly the result
#[1] -0.62645381 0.18364332 -0.83562861 1.59528080 0.32950777 -0.82046838
#[7] 0.48742905 0.73832471 0.57578135 -0.30538839 1.51178117 0.38984324
#[13] -0.62124058 -2.21469989 1.12493092 -0.04493361 -0.01619026 0.94383621
#[19] 0.82122120 0.59390132
I now know that my windows 10 has effect on my R
result.
My question is what must have changed on my Windows that is affecting my R
result?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…