installspec | R Documentation |
This can be called multiple times for different R interpreter, but you have to give a different name (and displayname to see a difference in the notebook UI). If the same name is give, it will overwrite older versions of the kernel spec with that name!
installspec(
user = NULL,
name = "ir",
displayname = "R",
rprofile = NULL,
prefix = NULL,
sys_prefix = NULL,
verbose = getOption("verbose"),
env = NULL
)
user |
Install into user directory ( |
name |
The name of the kernel (default "ir") |
displayname |
The name which is displayed in the notebook (default: "R") |
rprofile |
(optional) Path to kernel-specific Rprofile (defaults to system-level settings) |
prefix |
(optional) Path to alternate directory to install kernelspec into (default: NULL) |
sys_prefix |
(optional) Install kernelspec using the |
verbose |
(optional) If |
env |
(optional) Named list of environment variables to set in the kernel (default: NULL) |
Exit code of the jupyter kernelspec install
call.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.