aims-install-r35 592 Bytes
Newer Older
Jan Groenewald's avatar
Jan Groenewald committed
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

echo "deb http://cloud.r-project.org/bin/linux/debian stretch-cran35/" > /etc/apt/sources.list.d/cran.list
apt-key adv --keyserver=keys.gnupg.net --recv-key 'E19F5F87128899B192B1A2C2AD5F960A256A04AF'
apt-get -qq update
apt-get -y install r-base r-base-dev r-recommended

echo "You may want to:"
echo " * sudo apt-get -y autoremove"
echo " * sudo apt-get clean"
11
12
echo " * re-install any R packages in ~/.local/lib/R/site-packages or /usr/local/lib/R/site-packages"
echo " * specifically IRkernel, by removing /usr/local/lib/R/site-packages/* and then sudo aims-install-irkernel"
Jan Groenewald's avatar
Jan Groenewald committed
13
14