Photo by Fotis Fotopoulos on Unsplash

RStudio in Docker Now!!!

RStudio in the Docker container environment!!

sudo apt-get updatesudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg \
lsb-release
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
sudo docker run hello-world

IDE’s for R:

# Replace with valid license
export RSP_LICENSE=XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX
# Run without persistent data using default configuration
docker run --privileged -it \
-p 8787:8787 \
-e RSP_LICENSE=$RSP_LICENSE \
rstudio/rstudio-server-pro:latest
docker run --rm \
-p 127.0.0.1:8787:8787 \
-e DISABLE_AUTH=true \
rocker/rstudio

I am sharing my opinion and what little I know of eventually here.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store