1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 16:42:08 +02:00
tldr/pages/common/R.md
2020-11-21 00:06:39 -03:00

32 lines
505 B
Markdown

# R
> R language interpreter.
> More information: <https://www.r-project.org>.
- Start an R interactive shell (REPL):
`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}}`