Skip to content
Snippets Groups Projects
VERSIONS.md 2.16 KiB
Newer Older
# R, MRAN, RStudio Server versions correspondance

In order to get coherent versioned Rocker containers, versions of R, R packages,
and RStudio Server are match on a time scale by default. Change MRAN date for
`rocker/r-ver` using e.g. (from the corresponding dir):

```
docker build --build-arg BUILD_DATE=2017-10-31 -t rocker/r-ver:3.4.2 .
```

Change RStudio Server version for `rocker/rstudio` using, e.g. (from the
corresponding dir):

```
docker build --build-arg RSTUDIO_VERSION=1.1.414 -t rocker/rstudio:3.4.2 .
```


## Rules

- MRAN date is the last date CRAN distributed that R version.

- RStudio Server version (and date) from http://download2.rstudio.org/ as the
  version that was available at MRAN date, with the only exception of R 3.3.1
  where RStudio Server v. 1.0.44 with tons of improvements over v. 0.9.903 was
  released just one day after the MRAN date.

|R version | MRAN date  | RStudio version | RStudio date |
|----------|------------|-----------------|--------------|
| 3.1.0    | 2014-09-17 | NA              | NA           |
| 3.2.0    | 2015-06-18 | NA              | NA           |
| 3.2.5    | 2016-05-03 | NA              | NA           |
| 3.3.0    | 2016-06-21 | NA              | NA           |
| 3.3.1    | 2016-10-31 | 1.0.44          | 2016-11-01   |
| 3.3.2    | 2017-03-06 | 1.0.136         | 2016-12-21   |
| 3.3.3    | 2017-04-21 | 1.0.143         | 2017-04-19   |
| 3.4.0    | 2017-06-30 | 1.0.143         | 2017-04-19   |
| 3.4.1    | 2017-09-28 | 1.0.153         | 2017-07-20   |
| 3.4.2    | 2017-11-30 | 1.1.383         | 2017-10-09   |
Carl Boettiger's avatar
Carl Boettiger committed
| 3.4.3    | 2017-03-15 | 1.1.442         | 2018-03-12   |
| 3.4.4    | 2018-04-23 | 1.1.447         | 2018-04-18   |
| 3.5.0    | latest     | latest          | latest       |

**The old rule where `rocker/rstudio` was build, by default, using the latest
Carl Boettiger's avatar
Carl Boettiger committed
RStudio Server is cancelled**, since RStudio ships with `rmarkdown` package. 
With time, RStudio
packages requirements do not matching versions available on MRAN any more. So,
more recent RStudio features _may_ not be available anyway with older R
versions. You can change this behaviour back for your own builds if you
prefer (see the `Dockerfile`)... at your own risks!