Install R to Jupyter: Difference between revisions

(Created page with "In Debian 10: Install Prereqs <pre>sudo apt install dirmngr apt-transport-https ca-certificates software-properties-common gnupg2</pre> Install key <pre>sudo apt-key adv -...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 18: Line 18:


<pre>R --version</pre>
<pre>R --version</pre>
Start R
<pre>sudo su
R</pre>
Install JupyterLab Packages
<pre>
install.packages(c('rzmq','repr','IRkernel','IRdisplay'),repos = c('http://irkernel.github.io/', getOption('repos')), type = 'source')
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/