Re: [R] R.matlab memory use

2010-12-22 Thread Stefano Ghirlanda
Hi Henrik, Thanks for R.matlab and your reply. I cannot find any octave option to save an uncompressed MATLAB-format file. I have just downloaded Rcompression from what I believe is the official website so it should be current. I also think I have the current R version (at least, what is current

Re: [R] R.matlab memory use

2010-12-21 Thread Henrik Bengtsson
Hi, I am using Octave; what does that save options do, more specifically, is compression taking place when saving that file? If compression is done, then the Rcompression package is utilized by R.matlab (otherwise not). BTW, you don't have to load Rcompression explicitly; R.matlab will do it

Re: [R] R.matlab memory use

2010-12-21 Thread Henrik Bengtsson
On Tue, Dec 21, 2010 at 10:15 AM, Henrik Bengtsson h...@biostat.ucsf.edu wrote: Hi, I am using Octave; what does that save options do, more specifically, is compression taking place when saving that file? That should be: I am [not] using Octave... /H If compression is done, then the

Re: [R] R.matlab memory use

2010-12-20 Thread Stefano Ghirlanda
Hi Ben, Thanks for your reply. My data structure is about 2 x 2000 so one order of magnitude the one you tried. I have no problem saving and reading smaller data structures (even large ones, just not his large) between octave and R using octave's save -7 (which saves MATLAB v5 files) and

Re: [R] R.matlab memory use

2010-12-20 Thread Ben Bolker
Stefano Ghirlanda dr.ghirlanda at gmail.com writes: Hi Ben, Thanks for your reply. My data structure is about 2 x 2000 so one order of magnitude the one you tried. I have no problem saving and reading smaller data structures (even large ones, just not his large) between octave and R

Re: [R] R.matlab memory use

2010-12-20 Thread Stefano Ghirlanda
Hi, The data set is indeed highly redundant, mostly zeros (which means I could use sparse matrices, but that's another issue). I have posted an octave ascii file here: http://dl.dropbox.com/u/4000198/freq.txt and a .mat file here: http://dl.dropbox.com/u/4000198/freq.mat    A few more

[R] R.matlab memory use

2010-12-19 Thread Stefano Ghirlanda
Hi, I am trying to load into R a MATLAB format file (actually, as saved by octave). The file is about 300kB but R complains with a memory allocation error: library(Rcompression) library(R.matlab) Loading required package: R.oo Loading required package: R.methodsS3 R.methodsS3 v1.2.0

Re: [R] R.matlab memory use

2010-12-19 Thread Ben Bolker
Stefano Ghirlanda dr.ghirlanda at gmail.com writes: I am trying to load into R a MATLAB format file (actually, as saved by octave). The file is about 300kB but R complains with a memory allocation error: library(Rcompression) library(R.matlab) Loading required package: R.oo Loading