Rinse, short for R installer, is a CLI (command line interface) for installing R on Linux, Windows, and MacOS from source. It exists as a standalone project and as a component of beRi.
Currently works with:
- Repos: CRAN
- Installation Methods: Source
- Supported OS: Linux, Windows, MacOS
- Permission Level: Sudo, Non-sudo
Rinse is currently a simple installer for the latest version of R. This includes installing/uninstalling R from source, managing R dependencies, and switching between versions of R. Creating a CLI for users, who may not be able to access R's gui or Rstudio on servers (HPC or personal), is the main inspiration for this project. Implementing rinse for Windows will be the main goal at hackseq19.
In the future, installing Microsoft R Open or other R implementations will also be considered. We would also like to implement features similar to pyvenv.
Currently, rinse is in the alpha stage of development. The latest release can be installed from PyPI or the development version can be installed from the dev-master branch on GitHub.
pip install rinstall
-
Create a virual environment called
rinse
using your tool of choice:pyenv
,poetry
,pipenv
,virtualenv
,virtualenvwrapper
,conda
,pew
, etc. -
Install poetry within your virtual environment:
[ $ ] python -m venv ~/.env/rinse
[ $ ] source ~/.env/rinse/bin/activate
(rinse) [ $ ] pip install poetry
...
(rinse) [ $ ] mkdir GitHub; cd Github
(rinse) [ ~/Github $ ] git clone -b dev-master https://github.com/datasnakes/rinse.git
(rinse) [ ~/Github $ ] cd rinse
(rinse) [ ~/Github/rinse $ ] poetry install
...
In order to use rinse, it must first be initialized:
(rinse) [ ~/Github/rinse $ ] rinse init
The initialization step is necessary to create proper installation folders to store your R installs.
You can install the latest version of R into your home directory with a single short command:
(rinse) [ ~/Github/rinse $ ] rinse install
# or
(rinse) [ ~/Github/rinse $ ] rinse install latest
# or
(rinse) [ ~/Github/rinse $ ] rinse install 3.5.3
Note: Be aware that R can take around 20 minutes to install.
First note:
(rinse) [ ~/Github/rinse $ ] rinse configure --help # configure script help (./configure --help)
# is different from
(rinse) [ ~/Github/rinse $ ] rinse configure --chelp # rinse cli help
Here's how you can perform various installation steps of R:
(rinse) [ ~/Github/rinse $ ] rinse configure 3.5.3
(rinse) [ ~/Github/rinse $ ] rinse make --check 3.5.3
(rinse) [ ~/Github/rinse $ ] rinse make --install 3.5.3
(rinse) [ ~/Github/rinse $ ] rinse make --install-tests 3.5.3
(rinse) [ ~/Github/rinse $ ] rinse test --check --check-devel --check-all 3.5.3
Downloading Rtools with the latest R version on Windows:
(rinse) [ ~/Github/rinse $ ] rinse configure --with-rtools=True
If you need help with using rinse, please submit an issue, and we will respond as soon as we can.
- Rob Gilmore
- Cedric Wang
- Shaurita Hutchins
- Roshan Pawar
- Cedric Wang
- Bruno Grande
- Kristen Bystrom