[R] Memory usage

From: Christian Oswald <c.oswald_at_nanotech.uni-saarland.de>
Date: Thu, 24 Apr 2008 13:24:03 +0200


Hello,

I have aggregate a data.frame from 16MB (Object size). After some minutes I get the error message "cannot allocate vector of size 64.5MB". My computer has a physical memory of 4GB under Windows Vista.

I have test the same command on another computer with the same OS and 2GB RAM. In nearly 2sec I get the result without problems.

Thanks

buch<-read.delim("Y2006_1.csv",sep=";",as.is=TRUE,header=TRUE,dec=",") ana01<-aggregate(buch[,c("VALUELW","LZLW","SZLW")],by=data.frame(buch$PRODGRP,buch$LAND1,buch$KUNDE1),sum)



R-help_at_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. Received on Thu 24 Apr 2008 - 12:27:47 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 24 Apr 2008 - 12:30:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive