It's because you've asked R to create an object of size 5 * 4 * 12488 * 1000 * 8 bytes, or 1905.5 MB, and R failed to get that much memory from the operating system.
Andy > From: Gao Fay > > Hi there, > > When I run the following, why does it give a error like that? > > > res2<-array(0,c(5,4,12488,1000)) > Error: cannot allocate vector of size 1951250 Kb > > Thank you for helping me. > Fay > > ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
