Skip to content

setMethod and contains not saving

1 message · Joseph Wang

#
Sorry if this is a duplicate....

I'm having the following problem saving methods which are subclasses of other
objects.  Is there a workaround.  The problem is that the R file that
triggers this bug is several meg, and I'd like to load from a RData file.

This works
[1] "foo"
[1] "$"
Function "$":
x = "ANY"
x = "foo"
Save workspace image? [y/n/c]: y
(restart)
Function "$":
x = "ANY"
x = "foo"

This doesn't ....
[1] "bar"
[1] "$"
Function "$":
x = "ANY"
x = "foo"
x = "bar"
Save workspace image? [y/n/c]: y
(restart)
Function "$":
x = "ANY"