[R] Principal component analysis PCA
SNN
s.nancy1 at yahoo.com
Thu Feb 14 03:14:06 CET 2008
Hi,
I am trying to run PCA on a set of data with dimension 115*300,000. The
columns represnt the snps and the row represent the individuals. so this is
what i did.
#load the data
code<-read.table("code.txt", sep='\t', header=F, nrows=300000)
# do PCA #
pr<-prcomp(code, retx=T, center=T)
I am getting the following error message
"Error: cannot allocate vector of size 275.6 Mb"
I tried to increase the memory size :
"memory.size(4000)"
but it did not work, is there a solution for this ? or is there another
software that can handle large data sets.
Thanks
--
View this message in context: http://www.nabble.com/Principal-component-analysis-PCA-tp15472509p15472509.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list