Learn R Programming

tractor.base (version 3.4.2)

SerialisableObject-class: 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.

Arguments

Methods

serialise(file = NULL)

Serialise the object to a list or file

See Also