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 RHOME Print path to R home directory and exit
42
43 --save Do save workspace at the end of the session
44
45 --no-save
46 Don't save it
47
48 --no-environ
49 Don't read the site and user environment files
50
51 --no-site-file
52 Don't read the site-wide Rprofile
53
54 --no-init-file
55 Don't read the .Rprofile or ~/.Rprofile files
56
57 --restore
58 Do restore previously saved objects at startup
59
60 --no-restore-data
61 Don't restore previously saved objects
62
63 --no-restore-history
64 Don't restore the R history file
65
66 --no-restore
67 Don't restore anything
68
69 --vanilla
70 Combine --no-save, --no-restore, --no-site-file, --no-init-file
71 and --no-environ
72
73 --no-readline
74 Don't use readline for command-line editing
75
76 --min-vsize=N
77 Set vector heap min to N bytes; '4M' = 4 MegaB
78
79 --max-vsize=N
80 Set vector heap max to N bytes;
81
82 --min-nsize=N
83 Set min number of cons cells to N
84
85 --max-nsize=N
86 Set max number of cons cells to N
87
88 --max-ppsize=N
89 Set max size of protect stack to N
90
91 -q, --quiet
92 Don't print startup message
93
94 --silent
95 Same as --quiet
96
97 --slave
98 Make R run as quietly as possible
99
100 --interactive
101 Force an interactive session
102
103 --verbose
104 Print more information about progress
105
106 -d, --debugger=NAME
107 Run R through debugger NAME
108
109 --debugger-args=ARGS
110 Pass ARGS as arguments to the debugger
111
112 -g, --gui=TYPE
113 Use TYPE as GUI; possible values are 'X11' (default), 'Tk' and
114 (with package gnomeGUI) 'gnome'
115
116 --arch=NAME
117 Specify a sub-architecture
118
119 --args Skip the rest of the command line
120
121 -f, --file=FILE
122 Take input from 'FILE'
123
124 Commands:
125 BATCH Run R in batch mode
126
127 COMPILE
128 Compile files for use with R
129
130 SHLIB Build shared library for dynamic loading
131
132 INSTALL
133 Install add-on packages
134
135 REMOVE Remove add-on packages
136
137 build Build add-on packages
138
139 check Check add-on packages
140
141 LINK Front-end for creating executable programs
142
143 Rprof Post-process R profiling files
144
145 Rdconv Convert Rd format to various other formats
146
147 Rd2dvi Convert Rd format to DVI/PDF
148
149 Rd2txt Convert Rd format to pretty text
150
151 Sd2Rd Convert S documentation to Rd format
152
153 Stangle
154 Extract S/R code from Sweave documentation
155
156 Sweave Process Sweave documentation
157
158 config Obtain configuration information about R
159
160 Please use 'R CMD command --help' to obtain further information about
161 the usage of 'command'.
162
164 Report bugs to <r-bugs@r-project.org>.
165
167 Copyright © 2008 The R Foundation for Statistical Computing ISBN
168 3-900051-07-0
169
170 R is free software and comes with ABSOLUTELY NO WARRANTY. You are wel‐
171 come to redistribute it under the terms of the GNU General Public
172 License version 2. For more information about these matters see
173 http://www.gnu.org/licenses/.
174
176 The full documentation for R is provided by a collection of Texinfo
177 manuals and individual help for R objects which is also available on-
178 line.
179
180 Start R and type ?topic at the R prompt to obtain on-line information
181 for `topic'.
182
183 If the processed manuals have been installed they will be available as
184 DVI and/or PDF files in the doc/manual subdirectory of the documenta‐
185 tion directory tree (default `R RHOME`).
186
187 If the info program and the R manuals are installed on your system,
188 typing info -f R-intro, info -f R-data, info -f R-exts, info -f R-FAQ,
189 info -f R-lang and info -f R-ints should give you access to ``An Intro‐
190 duction to R'' (the basic manual), the ``R Data Import/Export'' Guide,
191 the ``R Extension Writer's Guide'', the ``R FAQ'', the ``The R Language
192 Definition'', and the ``R Internals''.
193
194
195
196R 2.7.0 May 2008 R(1)