[R] Transferring data from S+ to R

Joerg Kindermann Joerg.Kindermann at gmd.de
Thu Jan 14 13:58:50 CET 1999

>>>>> "Simon" == Simon Fear <fears at roycastle.liv.ac.uk> writes:


>2) Start Splus using your cleaned .Data directory. If you got any output
>or warnings from your .First(), or perhaps best anyway, use
>rm(last.warning,last.dump,.Last.value). Then immediately issue the
>command dump(objects(),file='myfile').
>3) In R, > source('myfile')

This won't work for LARGE data sets, say a matrix of object.size() greater
than 1 MB, or for large lists, etc. In R source will need far too many cons
cells, and, porting data from R to S, source will generate memory leaks in
the S process.

Does anyone have an idea how to solve this task: porting large and possibly
structured data from R to S and vice versa?


-- Dr. Joerg Kindermann
				 GMD - AiS
	German National Research Center for Information Technology
	    Schloss Birlinghoven, D-53754 St. Augustin, Germany
	       phone: +49 02241 142437 fax: +49 02241 142342
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