mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 16:56:57 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
37
tldr/r
Normal file
37
tldr/r
Normal 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://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`
|
||||
Reference in New Issue
Block a user