Install R to Jupyter: Difference between revisions
No edit summary |
No edit summary |
||
Line 29: | Line 29: | ||
install.packages(c('rzmq','repr','IRkernel','IRdisplay'),repos = c('http://irkernel.github.io/', getOption('repos')), type = 'source') | install.packages(c('rzmq','repr','IRkernel','IRdisplay'),repos = c('http://irkernel.github.io/', getOption('repos')), type = 'source') | ||
IRkernel::installspec(user = FALSE)</pre> | IRkernel::installspec(user = FALSE)</pre> | ||
=== CRAN 40 === | |||
<pre>sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key '95C0FAF38DB3CCAD0C080A7BDC78B2DDEABC47B7' | |||
deb http://cloud.r-project.org/bin/linux/debian buster-cran40/ | |||
</pre> |
Latest revision as of 03:12, 2 November 2022
In Debian 10:
Install Prereqs
sudo apt install dirmngr apt-transport-https ca-certificates software-properties-common gnupg2
Install key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 'E19F5F87128899B192B1A2C2AD5F960A256A04AF'
Update packages
sudo apt update sudo apt install r-base
Test R
R --version
Start R
sudo su R
Install JupyterLab Packages
install.packages(c('rzmq','repr','IRkernel','IRdisplay'),repos = c('http://irkernel.github.io/', getOption('repos')), type = 'source') IRkernel::installspec(user = FALSE)
CRAN 40
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key '95C0FAF38DB3CCAD0C080A7BDC78B2DDEABC47B7' deb http://cloud.r-project.org/bin/linux/debian buster-cran40/