R language and RStan execution environment running on gitpod
10K+
It was built from the Dockerfile below.
FROM gitpod/workspace-full
USER root
ENV R_VERSION=4.1.3
RUN sudo apt-get install gdebi-core libxml2-dev \
&& curl -O https://cdn.rstudio.com/r/ubuntu-2004/pkgs/r-${R_VERSION}_1_amd64.deb \
&& sudo gdebi -n r-${R_VERSION}_1_amd64.deb
RUN /opt/R/${R_VERSION}/bin/R --version
RUN sudo ln -s /opt/R/${R_VERSION}/bin/R /usr/local/bin/R \
&& sudo ln -s /opt/R/${R_VERSION}/bin/Rscript /usr/local/bin/Rscript
RUN R -e 'install.packages(c("languageserver", "rstan"), repos = "https://cloud.r-project.org/")'
RUN R -e 'install.packages("scales", repos = "https://cloud.r-project.org/")'
RUN R -e 'install.packages("ggplot2", repos = "https://cloud.r-project.org/")'
RUN R -e 'install.packages("ggmcmc", repos = "https://cloud.r-project.org/")'
you can use this image by the following code in .gitpod.yml
image: payashi/rstan-gitpod:latest
vscode:
extensions:
- REditorSupport.r
Content type
Image
Digest
sha256:67bccdbca…
Size
3.4 GB
Last updated
almost 4 years ago
docker pull payashi/rstan-gitpod