The R Project SVN R

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
41044 ripley 1
.TH Rscript "1" "April 2007" "R scripting" FSF
2
.SH NAME
3
Rscript \- front end for scripting with R
4
.SH SYNOPSIS
5
.B Rscript
6
[\fI--options\fR] [\fI-e expr\fR] \fIfile \fR[\fIargs\fR]
7
.SH DESCRIPTION
8
A binary front-end to R, for use in scripting applications.
9
.TP
10
\fBexpr\fR
71734 hornik 11
An optional expression to be evaluated, used in place of \fBfile\fR.
41044 ripley 12
.TP
13
\fBfile\fR
14
Input file of R expressions
15
.TP
16
\fBargs\fR
17
Optional further arguments to be processed by \fIcommandArgs\fR
18
in the R interpreter.
19
.SH OPTIONS
20
\fB\-\-options\fR accepted are
21
.TP
22
\fB\-\-help\fR
23
Print usage and exit
24
.TP
25
\fB\-\-version\fR
26
Print version and exit
27
.TP
28
\fB\-\-verbose\fR
29
Print information on progress
30
.TP
31
\fB\-\-default\-packages\fR=\fIlist\fR
32
Where 'list' is a comma-separated set
33
of package names, or 'NULL'
34
.PP
77228 maechler 35
and also options to R (in addition to \fB\-\-no-echo\fR \fB\-\-no\-restore\fR),
41044 ripley 36
such as
37
.TP
38
\fB\-\-save\fR
39
Do save workspace at the end of the session
40
.TP
41
\fB\-\-no\-environ\fR
42
Don't read the site and user environment files
43
.TP
44
\fB\-\-no\-site\-file\fR
45
Don't read the site-wide Rprofile
46
.TP
47
\fB\-\-no\-init\-file\fR
45053 hornik 48
Don't read the user R profile
41044 ripley 49
.TP
50
\fB\-\-restore\fR
51
Do restore previously saved objects at startup
52
.TP
53
\fB\-\-vanilla\fR
54
Combine \fB\-\-no\-save\fR, \fB\-\-no\-restore\fR, \fB\-\-no\-site\-file\fR
55
\fB\-\-no\-init\-file\fR and \fB\-\-no\-environ\fR
56
.SH "SEE ALSO"
57
.BR R(1)