On 12/04/2013 7:14 AM, Tamas Barjak wrote:
Dear Members,
I upgraded R from 2.15.3 to 3.0.0 (binary) on my WinXP and now I can't
load my workspaces. The error message is:

"Error: requested primitive type is not consistent with cached value
During startup - Warning message:
unable to restore saved data in .RData"

Any idea to fix that?

Tamas sent me a copy of the bad file, and I've got a workaround:

The problem is an object called .SavedPlots. It was produced by the Windows graphics device when it was recording the history. It can't be loaded into R 3.0.0, because some of the internal organization of things has changed.

The workaround is to restart 2.15.3, load the workspace, then

rm(.SavedPlots)

and save the workspace.  After that things should be fine.

I'll try to get something in place in R-patched so that this doesn't cause the whole .RData load to fail.

Duncan Murdoch

______________________________________________
R-help@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.

Reply via email to