[R] data.restore() in R 2.5.1 for Windows 95 and later

Benilton Carvalho bcarvalh at jhsph.edu
Tue Jul 17 05:43:17 CEST 2007


The R  Data Import/Export also says that this function is in the  
"foreign" package. :-)

b

On Jul 16, 2007, at 11:38 PM, Brad Christoffersen wrote:

> To Whom It May Concern:
>
> I want to read in an S-PLUS data dump and I used
>
>> data.restore("filepath/filename")
>
> (in R 2.5.1 for Windows 95 and later) and I get the message
>
> Error: could not find function "data.restore"
>
> I have also tried read.S() and read.dta() with the same result.  I  
> cannot find
> any of these functions in the R Help for package base, although  
> data.restore()
> is mentioned in the R Data Import/Export manual.  I have also tried  
> apropos()
> and "character(0)" returns.  Additionally, I tried
>
>> getS3method("data","restore")
>
> but get
>
> Error in getS3method("data", "restore") : no function 'data' could  
> be found
>
> In addition, I tried
>
>> dget("filepath/filename")
>
> and it was taking a very long time to import the desired data dump  
> objects which
> previously took a shorter time using data.restore in SPlus.
>
> Any help is much appreciated!
>
> Thanks,
>
> Brad Christoffersen
> Graduate Student
> University of Arizona
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting- 
> guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list