Simon Fear
1997-Oct-21 11:12 UTC
R-beta: Accessing S-plus objects from R -- no. Must use ASCII files.
Martin's reply to Jean-Francois' question is pretty complete, but I suspect what JF and other new users want is 'how to transfer the *whole* of my Splus .Data (or _Data on PC) workspace into R' rather than just certain functions/data. In correspondence some months ago Peter Dalgaard and I came up with Splus:> dump(objects(),"dumpfile")R:> source("dumpfile")or OS-prompt% R < dumpfile It does not always work, though, because R and S are not the same language, eg not all your Splus functions will work as-is. In particular, before doing the Splus dump, you should rm(last.warning,last.dump) and anything else source() is going to have trouble parsing. Simon Fear PS is this in the FAQ? =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-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 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=