Subcommands20 subcommands
R RHOME
Print path to R home directory and exit
R CMD BATCH
Batch Execution of R
R CMD COMPILE
Compile files for use with R (not available on Windows)
R CMD SHLIB
Compile the given source files and then link all specified object files
R CMD INSTALL
Utility for installing add-on packages
R CMD REMOVE
Remove add-on packages
R CMD build
Build R packages from package sources
R CMD check
Check R packages from package sources
R CMD LINK
Perform the specified linkcmd
R CMD rprof
Post-process profiling information from `Rprof()`
R CMD Rdconv
Convert R documentation to other formats
R CMD Rd2pdf
Generate PDF output from R documentation files
R CMD Rd2txt
Convert R documentation to text
R CMD Stangle
A front-end for Stangle and other vignette engines
R CMD Sweave
A front-end for Sweave and other vignette engines
R CMD Rdiff
Diff R output files, discarding the R startup message
R CMD config
Get the value of a basic R configure variable
R CMD javareconf
Detect current Java setup and update the corresponding configuration in R
R CMD rtags
Tag C, R, and Rd files under a directory
OptionsOn R itself
--help-h
Print help message and exit
--version-v
Print version info and exit
--encoding
Specify encoding to be used for stdin <encoding>
--save
Save workspace at the end of the session
--no-save
Do not save workspace at the end of the session
--no-environ
Do not read the site and user environment files
--no-site-file
Do not read the site-wide Rprofile
--no-init-file
Do not read the user R profile
--restore
Do restore previously saved objects at startup
--no-restore-data
Do not restore previously saved objects
--no-restore-history
Do not restore the R history file
--no-restore
Do not restore anything
--vanilla
Combine --no-save, --no-restore, --no-site-file, --no-init-file and --no-environ
--no-readline
Do not use readline for command-line editing
--max-ppsize
Set max size of protect stack <max size>
--min-nsize
Set min number of fixed size obj's ('cons cells') <min size>
--min-vsize
Set vector heap minimum (in bytes or '4M' = 4 MegaB) <min vsize>
--quiet--silent-q
Do not print startup message
--no-echo-s
Make R run as quietly as possible
--interactive
Force an interactive session
--verbose
Print more information about progress
--debugger-d
Run R through a debugger <debugger>
--debugger-args
Pass arguments to the debugger <args>
--gui-g
Type of GUI to use <gui>
--arch
Specify a sub-architecture <arch>
--args
Skip the rest of the command line
--file-f
Take input from a file <file>
-e
Execute and R expression and exit <expr>