Skip to main content

R language interpreter.

# To start an R interactive shell (REPL):
R

# To check R version:
R --version

# To start R in vanilla mode (i.e. a blank session that doesn't save the workspace at the end):
R --vanilla

# To execute a file:
R -f <path/to/file.R>

# To execute an R expression and then exit:
R -e <expr>

# To run R with a debugger:
R -d <debugger>

# To check R packages from package sources:
R CMD check <path/to/package_source>