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:> source("dump.out")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:> 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: > > > source("dump.out") > Error in eval.with.vis(expr, envir, enclos) : > couldn't find function "new" >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? -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Tue, 3 Apr 2001 ernesto@ipimar.pt wrote:> 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 didWhich 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.> 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: > > > source("dump.out") > Error in eval.with.vis(expr, envir, enclos) : > couldn't find function "new"But can we see the dump, or at least the part containing `new"? -- Brian D. Ripley, ripley@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-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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._