SerialisableObject-class: The SerialisableObject class

SerialisableObject-classR Documentation

The SerialisableObject class

Description

This reference class extends TractorObject by adding a function for simple serialisation of the data fields of an object, either to a list or a file. This is intended to be used for classes whose state can meaningfully be restored from a list of standard R objects (not including transient C/C++ pointers, for example). A serialised object may be deserialised using the deserialiseReferenceObject function.

Methods

serialise(file = NULL)

Serialise the object to a list or file

See Also

save


tractor.base documentation built on May 29, 2024, 7:58 a.m.