SerialisableObject-class {tractor.base}R 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


[Package tractor.base version 3.4.2 Index]