R(1)
๐ R(1) โ the manual page, bestie edition โจ
okay so like โ this is the R(1) man page, the general manual for R on Unix-y systems, and I'm gonna walk you through every single bit of it. no skipping, no "you'll figure it out", we're doing the whole thing. grab a snack ๐
๐ธ NAME ๐ธ
R โ a language for data analysis and graphics. that's the whole vibe. it does stats, it does plots, it's a whole language. periodt.
๐ฆ SYNOPSIS ๐ฆ
R [options] [< infile] [> outfile]
R CMD command [arguments]
two whole modes, bestie. either you're launching R straight up with options (and maybe piping in an infile / piping out to an outfile), or you're going through the R CMD interface to poke at one of the tools. pick your fighter ๐
โจ DESCRIPTION โจ
so you start R โ a system for statistical computation and graphics โ with whatever options you specified. or you invoke an R tool through that 'R CMD' interface. both valid, both iconic.
R is a language that bears a passing resemblance to the S language developed at AT&T Bell Laboratories ๐ (yes, that AT&T Bell Labs, iykyk). it's got support for a whole variety of statistical and graphical analyses. and ngl, R is a true computer language โ it's got a bunch of control-flow constructions for iteration and alternation, like, actual programming constructs, not just a calculator with delusions of grandeur. and you can add your own functionality by defining new functions, which is honestly the best part ๐ซถ
on systems that have the GNU readline(3) library, R will maintain a command history โ so you can recall, edit, and re-execute your commands. no more retyping the whole thing because of one typo. a blessing. ๐ญ
๐ OPTIONS ๐
most of these control what happens at the beginning and at the end of an R session โ in particular which files are being read and written, and how much memory gets reserved for the R process. so like, bookkeeping stuff, but important bookkeeping stuff.
-h,--helpโ print a short help message and exit. bye ๐--versionโ print version info and exit--encoding=ENCโ specify the encoding to be used for stdin--encoding ENCโ same thing, space-separated flavor โจRHOMEโ print the path to theRhome directory and exit--saveโ do save the workspace at the end of the session--no-saveโ don't save it ๐--no-environโ don't read the site and user environment files--no-site-fileโ don't read the site-wideRprofile--no-init-fileโ don't read the userRprofile--restoreโ do restore previously saved objects at startup--no-restore-dataโ don't restore previously saved objects--no-restore-historyโ don't restore theRhistory file--no-restoreโ don't restore anything. scorched earth ๐--vanillaโ combine--no-save,--no-restore,--no-site-file,--no-init-fileand--no-environ. it's the "just give me a clean slate" bundle ๐ง--no-readlineโ don't use readline for command-line editing--max-connections=Nโ set max number of connections toN--max-ppsize=Nโ set max size of the protect stack toN--min-nsize=Nโ set min number of fixed size obj's ("cons cells") toN--min-vsize=Nโ set the vector heap minimum toNbytes;'4M'= 4 MegaB-q,--quietโ don't print the startup message--silentโ same as--quiet-s,--no-echoโ makeRrun as quietly as possible--interactiveโ force an interactive session--verboseโ print more information about progress ๐-d,--debugger=NAMEโ runRthrough debuggerNAME--debugger-args=ARGSโ passARGSas arguments to the debugger-g TYPE,--gui=TYPEโ useTYPEas the GUI; possible values are'X11'(default) and'Tk'--arch=NAMEโ specify a sub-architecture--argsโ skip the rest of the command line-f FILE,--file=FILEโ take input from'FILE'-e EXPRโ execute'EXPR'and exit
heads up bestie: FILE may contain spaces but not shell metacharacters. so spaces = fine, shell weirdness = not fine ๐ซ
๐ Commands: ๐
these are the R CMD tools, the little sidekicks:
BATCHโ runRin batch modeCOMPILEโ compile files for use withRSHLIBโ build a shared library for dynamic loadingINSTALLโ install add-on packagesREMOVEโ remove add-on packagesbuildโ build add-on packagescheckโ check add-on packagesLINKโ front-end for creating executable programsRprofโ post-processRprofiling filesRdconvโ convert Rd format to various other formatsRd2pdfโ convert Rd format to PDFRd2txtโ convert Rd format to pretty textStangleโ extract S/R code from Sweave documentationSweaveโ process Sweave documentationRdiffโ diffRoutput ignoring headers etcconfigโ obtain configuration information aboutRjavareconfโ update the Java configuration variablesrtagsโ create Emacs-style tag files from C, R, and Rd files
please use 'R CMD command --help' to get further information about how to use 'command', okay? it's right there, use it ๐
also โ sneaky but useful โ the options --arch, --no-environ, --no-init-file, --no-site-file and --vanilla can be placed between R and CMD, so they apply to the R processes run by 'command'. flexibility, slay.
๐ REPORTING BUGS ๐
found a bug? report it at <https://bugs.R-project.org>. be nice, be specific ๐ซถ
๐ COPYRIGHT ๐
Copyright ยฉ 2026 The R Foundation for Statistical Computing Platform: x86_64-redhat-linux-gnu
R is free software and comes with ABSOLUTELY NO WARRANTY. like, absolutely absolutely. you are welcome to redistribute it under the terms of the GNU General Public License versions 2 or 3. for more information about these matters see <https://www.gnu.org/licenses/>. ๐
๐ SEE ALSO ๐
the full documentation for R is provided by a collection of Texinfo manuals plus individual help for R objects, which is also available online.
start R and type ?topic at the R prompt to get on-line information for topic.
if the processed manuals have been installed, they'll be available as DVI and/or PDF files in the doc/manual subdirectory of the documentation directory tree (default `R RHOME`).
and if the info program and the R manuals are installed on your system, typing these should give you access to the good stuff:
info -f R-intro, info -f R-data, info -f R-exts, info -f R-FAQ,
info -f R-lang and info -f R-ints
which gets you, respectively: An Introduction to R'' (the basic manual), the R Data Import/Export'' Guide, the R Extension Writer's Guide'', the R FAQ'', the The R Language Definition'', and the R Internals''. a whole library, no cap ๐โจ
okay that's literally the whole page!! this was R version 4.6.1, dated June 2026, and yes it's the R(1) page โ go forth and analyze your data, bestie ๐ธ๐ฆ๐
๐ฆ where this page comes from
- epel 10: R-core 4.6.1-1.el10_3 ยท GPL-2.0-or-later
- epel 9: R-core 4.6.1-1.el9 ยท GPL-2.0-or-later
- fedora 44: R-core 4.6.1-1.fc44 ยท GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms