enable_safe_eval | R Documentation |
learnr
ExercisesEnable Safe Evaluation of User Code for learnr
Exercises
enable_safe_eval( max_fsize = 1L, envir = new.env(), max_address_space = 2048L, max_data = 256L, priority = 20L, rlimits, allow_env, force_safe_unix = FALSE, default_allow_env = c("^SHELL$", "^USER$", "^LANG$", "^LC_CTYPE$", "^HOME$", "^DYLD_FALLBACK_LIBRARY_PATH$", "^R_.*") )
max_fsize |
maximum size of created files in MiB. |
envir |
the R environment where the R expression is evaluated. |
max_address_space |
maximum size of the address space in MiB. |
max_data |
maximum size of the data memory in MiB. |
priority |
priority of the evaluating process. |
rlimits |
specify custom rlimitis. |
allow_env |
vector of regular expressions of allowed environment variables (i.e., the matching variables will be retained). |
force_safe_unix |
force the use of the |
default_allow_env |
vector of regular expressions of environment variables which should be allowed by default. Only change if you know what you are doing, as most of them are fundamental to the R process to work. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.