Install the kernelspec to tell Jupyter (or IPython $\ge$ 3) about IRkernel.
Usage
installspec(user = TRUE, name = "ir", displayname = "R")
Arguments
- user
- Install into user directory (~/.jupyter or ~/.ipython) or globally?
- name
- The name of the kernel (default "ir")
- displayname
- The name which is displayed in the notebook (default: "R")
Value
-
Exit code of the
jupyter kernelspec install call.
Description
Will use jupyter and its config directory if available, but fall back to ipython if not.
Details
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!