The following functions are only meaningful when used by code that is run inside Rserve in object-capability (OCAP) mode. See https://github.com/s-u/Rserve/wiki/OCAP-modeRserve Wiki for details.
ocap registers a function as a capability and returns the
resolve.ocap takes a capability reference and returns the
function representing the capability.
Rserve.context retrieves or sets the current context for
out-of-band (OOB) messages (see also
specifying contexts during evaluation).
1 2 3
function to register
description of the function, only for informational and logging purposes
reference previously obtained by a call to
if present, sets the context to the supplied value. If missing, the function returns the current context
ocap returns the new capability reference, it will be an
object of the class
resolve.ocap returns the function corresponding to the
NULL if the reference does not exist. It will
raise an error if
ocap is not a valid
Rserve.context returns the current context
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.