[R] Different PCA results under Windows and Linux

jathine jathine.wong at utah.edu
Tue Sep 16 23:19:31 CEST 2008


I ran the following R script under both Linux and Windows, and got 2
different results.
Linux R version 2.7.1 and Windows R version 2.7.2.

> library(FactoMineR)
>x1=read.table("freqtest.txt",header=TRUE)
>xrcc2=x1[,1:8]
>p1=PCA(xrcc2, graph=FALSE)
>p1$var

freqtest.txt file lines of text :
M1 M2 M3 M4 M5 M6 M7 M8
-1 -1 -1 -1 -1 -1 -1 -1
0 0 0 0 -1 -1 1 1
-1 -1 -1 -1 -1 -1 -1 -1
0 0 0 0 -1 -1 1 1 

I also tried mean(xrcc2) and sd(xrcc2) on both machines, the results are the
same. 
Please explain.


-- 
View this message in context: http://www.nabble.com/Different-PCA-results-under-Windows-and-Linux-tp19520449p19520449.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list