repo2docker/tests/r/simple/README.rst

20 wiersze
676 B
ReStructuredText

R environment - install.R
-------------------------
You can install an R, RStudio, and IRKernel environment with the following
two files:
* A ``runtime.txt`` file with the text::
r-YYYY-MM-DD
Where 'YYYY', 'MM' and 'DD' refer to a specific
date snapshot of https://mran.microsoft.com/timemachine
from which libraries will be installed.
* An optional ``install.R`` file that will be executed by an R installation
at build time. It can be used for installing packages from MRAN or GitHub.
The presence of ``runtime.txt`` is enough to set up R, RStudio, and IRKernel. It
uses the ``r-base`` package from the Ubuntu apt repositories to install
R itself.