Skip to content

Importing from Splus (PR#891)

3 messages · Ernesto Jardim, Peter Dalgaard, Brian Ripley

#
Full_Name: Ernesto Jardim
Version: 1.2.2
OS: SuSE Linux 6.4
Submission from: (NULL) (193.137.98.92)


I wanted to import an array, dim=c(28,12,17), from splus into R.On splus I did

dump(c("array"),file="dump.out)

I checked and Splus could source it.

Than, in R I tryied to source it with:

source("dump.out")

and got and error message:
Error in eval.with.vis(expr, envir, enclos) :
        couldn't find function "new"



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
ernesto@ipimar.pt writes:
Works OK for me from Splus 3.4 to R 1.2.2.... 

Does it happen with smaller arrays too, and could we see (parts of)
the actual dump file?
#
On Tue, 3 Apr 2001 ernesto@ipimar.pt wrote:

            
Which version of S-PLUS?  If 5.x or 6.x, this was the wrong command,
as you needed oldStyle = T for S3 (and hence R) compatibility.
But can we see the dump, or at least the part containing `new"?