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")
)
Exit code of the jupyter kernelspec install
call.
Install into user directory ($XDG_DATA_HOME
/jupyter/kernels
) or globally? (default: NULL but treated as TRUE if "prefix" is not specified)
The name of the kernel (default "ir")
The name which is displayed in the notebook (default: "R")
(optional) Path to kernel-specific Rprofile (defaults to system-level settings)
(optional) Path to alternate directory to install kernelspec into (default: NULL)
(optional) Install kernelspec using the --sys-prefix
option of the currently detected jupyter (default: NULL)
(optional) If FALSE
, silence output of install