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)