1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 08:22:09 +02:00
tldr/pages/common/r.md
Vitor Henrique 46a054215a
pages*: make help and version commands comply with the style guide (#12107)
* pages*: use generic word for help

* git: add newline to the end

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* pages*: make help and version commands comply with the style guide

* java: fix Java name

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-01-30 12:55:24 +08:00

32 lines
502 B
Markdown

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