An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20130115/45c2b2d1/attachment.pl>
Prevent serialization of an environment?
4 messages · Duncan Murdoch, Peter Meilstrup
On 13-01-15 7:39 PM, Peter Meilstrup wrote:
Within I'm using an environment as a hashtable to cache the results of some repeated computations in a package. The thing is that the contents of the cache will not be valid across R sessions, so I would like to make sure that the cache is cleared if the user saves or restores the workspace (or when a package is prepared for lazy loading, etc.). Is there a way to mark an environment so that its contents do not serialize?
Seems like the refhook argument to serialize() could do that. Duncan Murdoch
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20130115/f97724b4/attachment.pl>
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20130115/7b0d3a85/attachment.pl>