| next_config | R Documentation |
Configures send mode 'next' by registering functions for custom serialization and unserialization of external pointer reference objects, allowing these to be sent and received between different R sessions.
next_config(refhook = list(), mark = FALSE)
refhook |
either a list or pairlist of two functions: the
signature for the first must accept a list of external pointer objects
and return a raw vector, e.g. |
mark |
[default FALSE] (for advanced use only) logical value, whether to mark serialized data with a special bit. |
Calling this function without any arguments returns the pairlist of currently-registered 'refhook' functions (and resets 'mark' to FALSE).
A pairlist comprising the currently-registered 'refhook' functions.
g <- next_config(refhook = list(function(x) serialize(x, NULL), unserialize)) next_config() next_config(g, mark = TRUE) next_config(NULL) next_config()