installspec {IRkernel} | R Documentation |
Will use jupyter and its config directory if available, but fall back to ipython if not.
installspec(user = TRUE, name = "ir", displayname = "R")
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") |
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!