R is a free software programming language and software environment for statistical computing and graphics. The R language is widely used among statisticians and data miners for developing statistical software and data analysis. Polls and surveys of data miners are showing R's popularity has increased substantially in recent years.
R is an implementation of the S programming language combined with lexical scoping semantics inspired by Scheme. S was created by John Chambers while at Bell Labs. R was created by Ross Ihaka and Robert Gentleman at the University of Auckland, New Zealand, and is currently developed by the R Development Core Team, of which Chambers is a member. R is named partly after the first names of the first two R authors and partly as a play on the name of S.
R is a GNU project. The source code for the R software environment is written primarily in C, Fortran, and R. R is freely available under the GNU General Public License, and pre-compiled binary versions are provided for various operating systems. R uses a command line interface; however, several graphical user interfaces are available for use with R.
%%LOGO%%
The most straightforward way to use this image is to use a gcc container as both
the build and runtime environment. In your Dockerfile, writing something along
the lines of the following will compile and run your project:
FROM r-base:latest
COPY . /usr/src/myscripts
WORKDIR /usr/src/myscripts
CMD ["Rscript -e myscript.R"]
Then, build and run the Docker image:
docker build -t my-r-app .
docker run -it --rm --name my-running-app my-r-app