[R] Save and load workspace in R: strange error.

Juancarloshb juancarloshb at gmail.com
Thu Nov 19 01:43:24 CET 2009


Hello,

I get the same message when I write the attach function, where is that you
change the user quota?
I use R with mac OS

Thanks.


Hongxiao Zhu wrote:
> 
> Hi,
> 
> I finally figured out where the problem is. It was because the 
> user account has a 10GB quota for the systerm that I used.
> Once the space limit is reached, R will have this error whenever you
> want to save or load.
> Gosh! It took me so long to realize this.
> 
> Hongxiao 
> **********************************************
>   *  Hongxiao Zhu                              *
>   *  Department of Statistics, Rice Univeristy *
>   *  Office: DH 3136, Phone: 713-348-2839      *
>   *  http://www.stat.rice.edu/~hxzhu/          *
>   **********************************************
> 
> On Wed, 3 Oct 2007, Tony Plate wrote:
> 
>> Did you check whether 'junk4.RData' was created and what its length was - 
>> maybe an empty file is being created.  Is there some sort of quota or 
>> permissions problem?  My suggestion would be to look at the size and 
>> permissions on the directory and the file.  If you need more help, I
>> would 
>> suggest posting more details back to the list, e.g., what OS you are
>> using, 
>> and a directory listing that shows file sizes and permissions (i.e., as
>> you 
>> get with 'ls -l' on Unix systems.)
>>
>> -- Tony Plate
>>
>> Hongxiao Zhu wrote:
>>> Hi,
>>> 
>>> I tried to load a .RData object on unix system using R, it gives error:
>>> 
>>> Error: restore file may be empty -- no data loaded
>>> In addition: Warning message:
>>> file 'junk3.RData' has magic number ''
>>>     Use of save versions prior to 2 is deprecated
>>> 
>>> This happens only for using MY user account for the Unix system. I tried 
>>> to use a friends's user account to load the same data object, it is
>>> fine. And it never happened to me before until sometime last week.
>>> And This error happens even when I generate a simple random number
>>> from my user account and save it, and load it again.(So obviously it is 
>>> not a R version mismatch problem). Does anybody know what happened?
>>> 
>>> Here is an example what happened:
>>> 
>>>> x=rnorm(100)
>>>> save.image('junk4.RData')
>>>> load('junk4.RData')
>>> Error: restore file may be empty -- no data loaded
>>> In addition: Warning message:
>>> file 'junk4.RData' has magic number ''
>>>     Use of save versions prior to 2 is deprecated
>>> 
>>> Thanks for any suggestion.
>>> 
>>> Hongxiao
>>> 
>>> 
>>> **********************************************
>>>   *  Hongxiao Zhu                              *
>>>   *  Department of Statistics, Rice Univeristy *
>>>   *  Office: DH 3136, Phone: 713-348-2839      *
>>>   *  http://www.stat.rice.edu/~hxzhu/          *
>>> 
>>> ______________________________________________
>>> R-help at r-project.org 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.
>>> 
>>
>>
>> !DSPAM:4703b16f15261021468!
>>
> 
> ______________________________________________
> R-help at r-project.org 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.
> 
> 

-- 
View this message in context: http://old.nabble.com/Save-and-load-workspace-in-R%3A-strange-error.-tp12968832p26418491.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list