[R-SIG-Mac] source() hangs on import

Simon Urbanek simon.urbanek at r-project.org
Sat May 18 03:51:19 CEST 2013


On May 17, 2013, at 9:41 PM, Donald McKenzie wrote:

> Simon -- I can't reproduce it for the list because the window it's running in always hangs and R freezes. I tried. But it basically looks like
> 
>> dump("my.file",file="myfileR")
>> source("myfileR")
> HANG..... (yellow colored ball)
> 

Well, you can simply provide the myfileR that hangs for you ...

Cheers,
Simon


> I will go with your suggestions below and report back if need be.   Thanks for the help.
> 
> Don
> 
> On Fri, 17 May 2013, Simon Urbanek wrote:
> 
>> 
>> On May 17, 2013, at 7:20 PM, Don McKenzie wrote:
>> 
>>> I checked the archives since the release of R 3.0.0 and didn't see anything on this.
>>> 
>>> Trying to import data previously exported with dump(), source() hangs and I have to force quit R.  This happens with data objects
>>> as small as 5 kb.
>> 
>> Do you have a reproducible example?
>> 
>> 
>>> Has anyone encountered this and found a workaround?  Is there now a preferred method to export R objects?
>>> 
>> 
>> The preferred method has always been to use serialization (save/load or saveRDS/readRDS).
>> 
>> Cheers,
>> Simon
>> 
>> 
>>> Thanks for any suggestions.
>>> 
>>> on a macbook pro with 4 gb RAM.
>>> 
>>>> R.version
>>>              _
>>> platform       x86_64-apple-darwin10.8.0
>>> arch           x86_64
>>> os             darwin10.8.0
>>> system         x86_64, darwin10.8.0
>>> status
>>> major          3
>>> minor          0.0
>>> year           2013
>>> month          04
>>> day            03
>>> svn rev        62481
>>> language       R
>>> version.string R version 3.0.0 (2013-04-03)
>>> nickname       Masked Marvel
>>> 
>>> 
>>> 
>>> Don McKenzie
>>> Research Ecologist
>>> Pacific Wildland Fire Sciences Lab
>>> US Forest Service
>>> 
>>> Affiliate Professor
>>> School of Environmental and Forest Sciences
>>> University of Washington
>>> 
>>> phone: 206-732-7824
>>> dmck at uw.edu
>>> 
>>> _______________________________________________
>>> R-SIG-Mac mailing list
>>> R-SIG-Mac at r-project.org
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>> 
>>> 
>> 
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>> 
> 
> 



More information about the R-SIG-Mac mailing list