you may try to increase virtual memory : http://windows.microsoft.com/en-us/windows/change-virtual-memory-size#1TC=windows-7
-----Original Message----- From: "eliza botto" [eliza_bo...@hotmail.com] Date: 11/11/2014 02:35 PM To: "r-help@r-project.org" <r-help@r-project.org> Subject: [R] R memory issues Dear useRs, I have this funny thing going on with me since morning. I am 32 bit window 7 system with 4 GB RAM(2.95 usable). I tried to run a code on it but when I tried to convert dataframe to matrix by using the following code mat<-matrix(as.numeric(unlist(SFI)),nrow=nrow(SFI)) *where SFI is my dataframe. an error came up, "Error: cannot allocate vector of size 237.3 Mb" I tried to increase memory by using memory.limit(2500) but to no effect. Kindly help me out on it as you always do. Thanks, Eliza [[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. ______________________________________________ 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.