Yes. Duh. Overthinking the "reproducible" part and responding too quickly. Here's one that produces the behavior.

myfile <- data.frame(x1=runif(100000),x2=runif(100000),x3=runif(100000))
dump("myfile",file="myfileR")
source("myfileR")

The source() part takes ~10 sec. in R 2.9.2 on my old powermac, but hangs in 3.0.0.

Don


On 17-May-13, at 6:51 PM, Simon Urbanek wrote:


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
[email protected]

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac



_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac









Don McKenzie, Research Ecologist
Pacific Wildland Fire Sciences Lab
US Forest Service
phone: 206-732-7824

Affiliate Professor
School of Environmental and Forest Sciences
University of Washington

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to