Skip to content
Prev 245407 / 398503 Next

R.matlab memory use

Stefano Ghirlanda <dr.ghirlanda <at> gmail.com> writes:
This is not a package I'm particularly familiar with, but:

  what commands did you use to save the file in octave?  Based on
'help save' I think that 'save' by default would get you an octave
format file ... you might have to do some careful reading in 
?readMat (in R) and 'help save' (in octave) to figure out the
correspondence between octave/MATLAB and R/MATLAB.
   If possible, try saving a small file and see if it works; if
you still don't know what's going on, post that file somewhere for
people to try.

  I was able to 

save -6 "save.mat" in octave and 
readMat("save.mat") in R successfully,
saving a vector of integers from 1 to 1 million (which
took about 7.7 Mb)