You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.
For some types of objects storing a copy of the data in the RcppR6 object's R environment could help. Keeping things in sync is hard. But if we could do that it might be possible to store enough to rebuild the object and provide a hook to do that.
At the least, it should be possible to facilitate load/save, even if we have to use the RApiSerialize interface to do this.
However, that doesn't deal with the case where an object is saved because it is itself a part of another object (e.g. in a list). In theory saveRDS's refhook should be able to help out here, but I don't see that it can be set to be triggered by object type.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As with modules, this is hard to get right. See package XML, which has
xmlSerializeHook
andxmlDeserializeHook
to help.The text was updated successfully, but these errors were encountered: