1R(1) FSF R(1)
2
3
4
6 R - a language for data analysis and graphics
7
9 R [options] [< infile] [> outfile]
10 R CMD command [arguments]
11
13 Start R, a system for statistical computation and graphics, with the
14 specified options, or invoke an R tool via the 'R CMD' interface.
15
16 R is a language which bears a passing resemblance to the S language
17 developed at AT&T Bell Laboratories. It provides support for a variety
18 of statistical and graphical analyses. R is a true computer language
19 which contains a number of control-flow constructions for iteration and
20 alternation. It allows users to add additional functionality by defin‐
21 ing new functions.
22
23 On systems which have the GNU readline(3) library, R will maintain a
24 command history, so that commands can be recalled, edited and re-exe‐
25 cuted.
26
28 Most options control what happens at the beginning and at the end of an
29 R session, in particular which files are being read and written, and
30 how much memory is reserved for the R process.
31
32 -h, --help
33 Print short help message and exit
34
35 --version
36 Print version info and exit
37
38 --encoding=ENC
39 Specify encoding to be used for stdin
40
41 --encoding ENC
42
43 RHOME Print path to R home directory and exit
44
45 --save Do save workspace at the end of the session
46
47 --no-save
48 Don't save it
49
50 --no-environ
51 Don't read the site and user environment files
52
53 --no-site-file
54 Don't read the site-wide Rprofile
55
56 --no-init-file
57 Don't read the user R profile
58
59 --restore
60 Do restore previously saved objects at startup
61
62 --no-restore-data
63 Don't restore previously saved objects
64
65 --no-restore-history
66 Don't restore the R history file
67
68 --no-restore
69 Don't restore anything
70
71 --vanilla
72 Combine --no-save, --no-restore, --no-site-file, --no-init-file
73 and --no-environ
74
75 --no-readline
76 Don't use readline for command-line editing
77
78 --min-vsize=N
79 Set vector heap min to N bytes; '4M' = 4 MegaB
80
81 --max-vsize=N
82 Set vector heap max to N bytes;
83
84 --min-nsize=N
85 Set min number of cons cells to N
86
87 --max-nsize=N
88 Set max number of cons cells to N
89
90 --max-ppsize=N
91 Set max size of protect stack to N
92
93 -q, --quiet
94 Don't print startup message
95
96 --silent
97 Same as --quiet
98
99 --slave
100 Make R run as quietly as possible
101
102 --interactive
103 Force an interactive session
104
105 --verbose
106 Print more information about progress
107
108 -d, --debugger=NAME
109 Run R through debugger NAME
110
111 --debugger-args=ARGS
112 Pass ARGS as arguments to the debugger
113
114 -g, --gui=TYPE
115 Use TYPE as GUI; possible values are 'X11' (default) and 'Tk'.
116
117 --arch=NAME
118 Specify a sub-architecture
119
120 --args Skip the rest of the command line
121
122 -f, --file=FILE
123 Take input from 'FILE'
124
125 -e EXPR
126 Execute 'EXPR' and exit
127
128 FILE should not contain spaces nor shell metacharacers.
129
130 Commands:
131 BATCH Run R in batch mode
132
133 COMPILE
134 Compile files for use with R
135
136 SHLIB Build shared library for dynamic loading
137
138 INSTALL
139 Install add-on packages
140
141 REMOVE Remove add-on packages
142
143 build Build add-on packages
144
145 check Check add-on packages
146
147 LINK Front-end for creating executable programs
148
149 Rprof Post-process R profiling files
150
151 Rdconv Convert Rd format to various other formats
152
153 Rd2dvi Convert Rd format to DVI
154
155 Rd2pdf Convert Rd format to PDF
156
157 Rd2txt Convert Rd format to pretty text
158
159 Stangle
160 Extract S/R code from Sweave documentation
161
162 Sweave Process Sweave documentation
163
164 Rdiff Diff R output ignoring headers etc
165
166 config Obtain configuration information about R
167
168 javareconf
169 Update the Java configuration variables
170
171 rtags Create Emacs-style tag files from C, R, and Rd files
172
173 Please use 'R CMD command --help' to obtain further information about
174 the usage of 'command'.
175
176 Options --arch, --no-environ, --no-init-file, --no-site-file and
177 --vanilla can be placed between R and CMD, to apply to R processes run
178 by 'command'
179
181 Report bugs to <r-bugs@r-project.org>.
182
184 Copyright © 2011 The R Foundation for Statistical Computing ISBN
185 3-900051-07-0 Platform: x86_64-redhat-linux-gnu (64-bit)
186
187 R is free software and comes with ABSOLUTELY NO WARRANTY. You are wel‐
188 come to redistribute it under the terms of the GNU General Public
189 License version 2. For more information about these matters see
190 http://www.gnu.org/licenses/.
191
193 The full documentation for R is provided by a collection of Texinfo
194 manuals and individual help for R objects which is also available on-
195 line.
196
197 Start R and type ?topic at the R prompt to obtain on-line information
198 for `topic'.
199
200 If the processed manuals have been installed they will be available as
201 DVI and/or PDF files in the doc/manual subdirectory of the documenta‐
202 tion directory tree (default `R RHOME`).
203
204 If the info program and the R manuals are installed on your system,
205 typing info -f R-intro, info -f R-data, info -f R-exts, info -f R-FAQ,
206 info -f R-lang and info -f R-ints should give you access to ``An Intro‐
207 duction to R'' (the basic manual), the ``R Data Import/Export'' Guide,
208 the ``R Extension Writer's Guide'', the ``R FAQ'', the ``The R Language
209 Definition'', and the ``R Internals''.
210
211
212
213R 2.13.1 August 2011 R(1)