Update cheatsheets

This commit is contained in:
ivuorinen
2026-02-08 00:34:23 +00:00
parent c8acbc5872
commit a9c8ccc0e2
34 changed files with 357 additions and 49 deletions

37
tldr/r.1 Normal file
View File

@@ -0,0 +1,37 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# R
> R language interpreter.
> More information: <https://manned.org/R>.
- 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|--file]}} {{path/to/file.R}}`
- Execute an R expression and then exit:
`R -e {{expr}}`
- Run R with a debugger:
`R {{[-d|--debugger]}} {{debugger}}`
- Check R packages from package sources:
`R CMD check {{path/to/package_source}}`
- Display version:
`R --version`