The R Project SVN R

Rev

Rev 41044 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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