Hi, I keep getting this error in console. but I have 30G of RAM: Error: cannot allocate vector of size 154.3 Mb Is there some way to tell it I have more memory available? I am on Windows XP 64 bit -- View this message in context: http://n4.nabble.com/R-Cmdr-memory-tp1693483p1693483.html Sent from the R help mailing list archive at Nabble.com.
On Mar 27, 2010, at 11:43 AM, ManInMoon wrote:> > Hi, > > I keep getting this error in console. but I have 30G of RAM: > > Error: cannot allocate vector of size 154.3 Mb > > Is there some way to tell it I have more memory available? > > I am on Windows XP 64 bitBut you are probably using 32 bit R. You could try running this code. I copied if from a posting on r-help, but regret that I did not insert a comment to remind me who posted it. getsizes <- function() {z <- sapply(ls(envir=globalenv()), function(x) object.size(get(x))) (tmp <- as.matrix(rev(sort(z))[1:10])) } I had the same sort of question so many times that I added it to my .Rprofile>-- David Winsemius, MD West Hartford, CT
Is there a 64 bit R - and where can I get hold of it for Windows please? Your sizes function is useful thanks - but is there some R parameter to allow maximum usage of memory? -- View this message in context: http://n4.nabble.com/R-Cmdr-memory-tp1693483p1693978.html Sent from the R help mailing list archive at Nabble.com.
On Mar 28, 2010, at 4:35 AM, ManInMoon wrote:> > Is there a 64 bit R - and where can I get hold of it for Windows > please?For Windows XP?, Not that I know of. There are proprietary versions for Vista and I believe Professor Ripley is working on an experimental version for the 64 bit versions of Windows.> > Your sizes function is useful thanks - but is there some R parameter > to > allow maximum usage of memory?Read the Windows FAQ and seearch on "memory". -- David Winsemius, MD West Hartford, CT