[Rd] Importing from Splus (PR#891)

Prof Brian Ripley ripley@stats.ox.ac.uk
Tue, 3 Apr 2001 17:29:54 +0100 (BST)


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 did

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.


> 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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._