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

--- Muhammad Subianto <[EMAIL PROTECTED]> wrote:

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

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to