[R] Exporting from Splus into R
Prof Brian D Ripley
ripley at stats.ox.ac.uk
Tue Apr 3 15:58:20 CEST 2001
On Tue, 3 Apr 2001, [iso-8859-1] José Ernesto Jardim wrote:
> Hi
>
> I want to export an array (dim=c(24,12,17)) from splus into R. I've
> tried dump but R couldn't source it.
What happened? Can you source it in S-PLUS?
> Is there a fast and clean way of doing this ?
data.dump in S-PLUS and data.restore in package Rstreams should work ....
Otherwise just write() it as a vector, scan as a vector and add a
dimension.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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