[R] bigmemory with reshape?

Avram Aelony aavram at mac.com
Thu Dec 11 00:21:29 CET 2008


Hello,

I am running into memory boundaries and would like to try to make use of the bigmemory (or any other memory enabling) library.
Can anyone help with suggestions as to how this might work?

> library(reshape)
> s <- melt( d[,1:62], id=c(1) )
Error: cannot allocate vector of size 16.0 Mb

> library(bigmemory)

I am reading http://cran.r-project.org/web/packages/bigmemory/bigmemory.pdf but am unclear as to a work-around.
I'm currently on linux, R version 2.8.0 (2008-10-20).

thanks in advance,
Avram



More information about the R-help mailing list