Re: [R] error open .RData

From: Horacio Montenegro <nepossiver_at_yahoo.com>
Date: Thu 20 Oct 2005 - 05:24:30 EST

     hi

     It seems that, in some cases, saving a .RData containing objects from some packages and later trying to start R (or load the .RData) before loading the package could cause this error. See

http://finzi.psych.upenn.edu/R/Rhelp02a/archive/46910.html

     If the .RData contains objects from some specific packages, try loading the package first and then load the .RData file.

     Also, RSiteSearch(".RData corrupted") results in lots of hits.

     hope this helps,
         horacio montenegro

> Dear R-list,
> I have a problem to open my R workspace.
> When I try to open my file .Rdata with double-clik
> on windows explore I
> get the error like this:
>
> Error in load(name, envir = .GlobalEnv) : error
> reading from connection
>
> and on windows error:
>
> Fatal error: unable to restore saved data in .RData
>
> I try with,
>
> > load("CaseStudyHouseID50.RData", .GlobalEnv)
> Error in load("CaseStudyHouseID50.RData",
> .GlobalEnv) :
> error reading from connection
> >
>
> > load("CaseStudyHouseID50.RData")
> Error in load("CaseStudyHouseID50.RData") :
> error reading from connection
> >
>
> I have done to save my R workspace like this:
>

################################################################################

> save(list = ls(all=TRUE),
> file = "CaseStudyHouseID50.RData")
>
################################################################################

>
> What is wrong?
> Is there anyway to open .RData?
>
> Regards, Muhammad Subianto
>
>


R-help@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 Received on Thu Oct 20 05:30:15 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 19:07:07 EST