System Grab Bag

View all TLDR pages from common (or from all pages)

R

R language interpreter. More information: https://www.r-project.org.
  • Start a REPL (interactive shell):
    R
  • Check R version:
    R --version
  • Start R in vanilla mode (i.e. a blank session that doesn't save the workspace at the end):
    R --vanilla
  • Execute a file:
    R -f {{path/to/file.R}}
  • Execute an R expression and then exit:
    R -e {{expr}}
  • Run R with a debugger:
    R -d {{debugger}}
  • Check R packages from package sources:
    R CMD check {{path/to/package_source}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.