Images on Docker Hub: https://hub.docker.com/r/nuest/renjin
Run Renjin in container
By default, the image is set up to use Renjin interactively and an R session is automatically started.
docker run -it --rm nuest/renjin > R.version > q()
Stopping the session also stops the container.
You can also start renjin manually and see how R packages are automatically loaded when using
library(..) and installed into
$ docker run -it nuest/renjin /bin/bash # renjin > library("dplyr") > mtcars$amfactor <- factor(mtcars$am, labels = c("automatic", "manual")) > summary(lm(mpg ~ factor(amfactor), data = mtcars))$coef > quit() # ls /root/.m2/repository/org/renjin/cran/ # exit
(Demo code based on based https://rpubs.com/davoodastaraky/mtRegression.)
Go into the version directory, then:
docker build --tag renjin . docker run -it renjin
Renjin is available under the GPLv2 (or higher) license, see LICENSE for the full text of the license.
Code files in this repository are published under GPLv2 (or higher) and are Copyright (C) 2017 Daniel Nüst.