Marshal and Unmarshal R Objects

marshal(...)

unmarshal(...)

Arguments

...

The object to be marshalled, or unmarshalled, followed by additional arguments passed to the specific S3 method.

Value

marshal() returns a marshalled object, which is a list with components:

  • marshalled: marshalled version of the original object

  • unmarshal: function that takes the marshalled object as input and returns an unmarshalled version of the original object.

unmarshal() returns an unmarshaled version of the original object.