/rcli

Simplified R version handling

Primary LanguageShellGNU Lesser General Public License v3.0LGPL-3.0

! Archived !

I don't have enough time and power to maintain this project. Please use https://github.com/r-lib/rig instead for a convenient way to install and switch between R versions.


macOS-x86 CircleCI

rcli is a tool for simplified installion of R versions and switching between these. It is written in bash, aims to be cross-platform and low on dependencies.

Quickstart

Install via homebrew (on macOS):

brew tap pat-s/rcli
brew install rcli

Install the latest GitHub release (on Linux):

curl -fLo /usr/local/bin/rcli $(curl -s https://api.github.com/repos/pat-s/rcli/releases/latest | grep "rcli" | awk '{print $2}' | sed 's|[\"\,]*||g' | grep "releases\/download")
chmod a+x /usr/local/bin/rcli

Install R release and devel versions and switch between them:

rcli install release # or rcli install rel
rcli install devel # or rcli install dev
rcli switch release # or rcli switch rel

Full documentation: https://rcli.pat-s.me

Announcement blog post: https://pat-s.me/announcing-rcli/

An alternative to rcli is r-lib/rim.