Description Usage Arguments Details Value
This function returns a special environment pre-loaded
with bunch of forked functions from base
,
stats
, graphics
etc. to act as a jail for
later evaluation.
1 | sandbox.env(blacklist = as.character(unlist(commands.blacklist())))
|
blacklist |
character vector of function names which should be banned |
Some of the forked functions stop
s by default (to
prevent using those inside the environment), for a full
list see commands.blacklist
. Other
functions (found in package's namespace) behaves
differently then usual: some parameters are forbidden
(like eval
's env
) to prevent breaking out
from the sandbox, some parameters and returned values are
checked for "malicious" signs.
environment
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.