Debian Codegraph @

man/installspec.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/installspec.r
3 \name{installspec}
4 \alias{installspec}
5 \title{Install the kernelspec to tell Jupyter about IRkernel.}
6 \usage{
7 installspec(
8 user = NULL,
9 name = "ir",
10 displayname = "R",
11 rprofile = NULL,
12 prefix = NULL,
13 sys_prefix = NULL,
14 verbose = getOption("verbose"),
15 env = NULL
16 )
17 }
18 \arguments{
19 \item{user}{Install into user directory (\href{https://specifications.freedesktop.org/basedir-spec/latest/ar01s03.html}{\code{$XDG_DATA_HOME}}\code{/jupyter/kernels}) or globally? (default: NULL but treated as TRUE if "prefix" is not specified)}
20
21 \item{name}{The name of the kernel (default "ir")}
22
23 \item{displayname}{The name which is displayed in the notebook (default: "R")}
24
25 \item{rprofile}{(optional) Path to kernel-specific Rprofile (defaults to system-level settings)}
26
27 \item{prefix}{(optional) Path to alternate directory to install kernelspec into (default: NULL)}
28
29 \item{sys_prefix}{(optional) Install kernelspec using the \code{--sys-prefix} option of the currently detected jupyter (default: NULL)}
30
31 \item{verbose}{(optional) If \code{FALSE}, silence output of \code{install}}
32
33 \item{env}{(optional) Named list of environment variables to set in the kernel (default: NULL)}
34 }
35 \value{
36 Exit code of the \code{jupyter kernelspec install} call.
37 }
38 \description{
39 This can be called multiple times for different R interpreter, but you have to give a
40 different name (and displayname to see a difference in the notebook UI). If the same
41 name is give, it will overwrite older versions of the kernel spec with that name!
42 }