This function sets user callbacks to construct axes in R or
Which axes? Specify as number in
1:3 or letter in
c("x", "y", "z").
Function or list of functions or character vector giving names of functions.
Which subscene do these callbacks apply to?
Should these changes apply to the scene object?
Should these changes apply to the current device?
callbacks to the
TRUE, it adds R
callbacks to the current RGL device.
the callbacks are specified as strings; these will be
evaluated within the browser in the global context to define the functions,
this object set to the current
For R, they may be strings or R functions.
Both options may be
TRUE, in which case the
callbacks must be specified as strings which are
do this is to give just a function name, with the
function defined elsewhere, as in the Example below.
The functions should have a header of the form
will be a string like
"x++" indicating which margin
would be chosen by R. If RGL would not choose to draw any
axis annotations (which happens with
not currently in R itself), only the letter will be passed,
Invisibly returns an
rglScene object. This
object will record the changes if
TRUE, it will also
have the side effect of attempting to install the
setUserCallbacks for mouse callbacks.