[R] import data from splus
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Nov 14 16:45:48 CET 2000
On Tue, 14 Nov 2000, David James wrote:
> I have a somewhat similar problem. I also need to move huge, somewhat
> complicated objects from Splus5 to R. I need data.restore() in R
> (in my case it should be S4/Splus5 aware).
> I took a quick look at the Rstream manual, but I didn't see anything that
> I could easily use/modify for this problem (right?).
readSfile could be modified (see later).
> Is there something out there I could use, or will data.dump()/data.restore()
> need to be written for R? (BTW I think this is not an R issue per se, but
> rather an R-S interface issue -- it is a fact that most of my collaborators
> use Splus.)
We are hoping to have a data.restore() S3-style. Duncan Murdoch has
been working on one, hit a snag with blank lines that R-devel solves
(via readLines or even scan now). (Duncan: where is this at?)
Our problem is that the only firm information we have is on S3-style dump
format, and that for vector and list objects with attributes. If anyone
can extend this to a description of what S4 uses, we could maybe go
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