[R] arrays in binary files

Laurent Gautier laurent at cbs.dtu.dk
Tue Jul 9 09:09:00 CEST 2002


Dear all,

In the writing of functions for a package have to deal with (very)
 large arrays and I was considering that
having them in files rather than in memory would help me a bit
on the memory side of the things. I was thinking of accessing the
elements in the arrays by 'seek' and friends in C. 
The package RObjectTables seems to provide the framework to do this
kind of thing, but I have questions:

- The speed side of the things worries me. Is the idea totally
stupid ?

- Does anybody out there have experience in doing similar things
(and why not dream about it, doing the exact same thing ;) ) with
R ?


Thanking any kind of help/pointer in advance,


L.


PS: I know of the package 'rhdf5'. It provides what I am looking for,
but I'd like to offer a poor man's solution (should I say 'lazy man')...
the package should work 'out of the box'
 

 


-- 
--------------------------------------------------------------
Laurent Gautier			CBS, Building 208, DTU
PhD. Student			DK-2800 Lyngby,Denmark	
tel: +45 45 25 24 85		http://www.cbs.dtu.dk/laurent
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list