Re: [R] error open .RData

From: Petr Pikal <petr.pikal_at_precheza.cz>
Date: Wed 19 Oct 2005 - 20:21:59 EST


Hi

Your .Rdata file is probably corrupted. Unless you have a working copy of it elsewhere or sources of your data together with history of your commands you are probably in deep trouble .Rdata is a binary format and it is not recommended to safe and reliable saving of your work as you have only limited, if any, possibilities to recover it if anything goes wrong.

I usually have all my important source data in txt or xls format and I frequently save history in separate files (on daily basis or sometimes several times a day) to be able to repeat everything I have done.

Cheers
Petr

On 19 Oct 2005 at 11:58, Muhammad Subianto wrote:

Date sent:      	Wed, 19 Oct 2005 11:58:11 +0200
From:           	Muhammad Subianto <subianto@gmail.com>
To:             	r-help@stat.math.ethz.ch
Subject:        	[R] error open .RData

> 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.version
> _
> platform i386-pc-mingw32
> arch i386
> os mingw32
> system i386, mingw32
> status
> major 2
> minor 2.0
> year 2005
> month 10
> day 06
> svn rev 35749
> language R
> >
>
> ______________________________________________
> 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

Petr Pikal
petr.pikal@precheza.cz



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 Wed Oct 19 20:46:23 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:46 EST