r

r

TLDR

Start an R interactive shell (REPL)

$ R
copy

Check R version

$ R --version
copy

Start R in vanilla mode (i.e. a blank session that doesn't save the workspace at the end)

$ R --vanilla
copy

Execute a file

$ R -f [path/to/file.R]
copy

Execute an R expression and then exit

$ R -e [expr]
copy

Run R with a debugger

$ R -d [debugger]
copy

Check R packages from package sources

$ R CMD check [path/to/package_source]
copy

Copied to clipboard
Earn up to $40 for learning about crypto currencies