My apologies if this is a bit of a 'newbie' question. I am using R v 2.8.0 in Windows and am a bit confused about the memory size/allocation.
A script I wrote faulted out with the error: "Error: cannot allocate vector of size 5.6 Mb" After this error, I still have: > memory.size() [1] 669.3517 > memory.limit() [1] 1535.875 Since the memory size is well under 5.6Mb less than the memory limit, I assume there is some limit on object size within R. Is this correct? If so, is there a way to determine which one of my objects is too large? - So that I can remove it or update my script. Also, is there a way to temporarily increase the limit on vector memory allocation above 5.6Mb? I'm hoping to still retreive the data that was calculated in the run prior to the error. To get at this data, I tried write.csv and got a similar error: > write.csv(Results, "TempOutput_011309.csv", row.names=FALSE, col.names=TRUE) Error: cannot allocate vector of size 5.5 Mb For reference, 'Results' is a data frame with about 800K rows and 18 columns (1 col contains character strings of class factor, 1 col contains Date/Time stamps of class factor, the remaining cols are all numeric). Any help here is greatly appreciated - Thanks! [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.