1Rscript(1)                            FSF                           Rscript(1)
2
3
4

NAME

6       Rscript - front end for scripting with R
7

SYNOPSIS

9       Rscript [--options] [-e expr] file [args]
10

DESCRIPTION

12       A binary front-end to R, for use in scripting applications.
13
14       expr   An optional expression to be evaluated, used in place of file.
15
16       file   Input file of R expressions
17
18       args   Optional further arguments to be processed by commandArgs in the
19              R interpreter.
20

OPTIONS

22       --options accepted are
23
24       --help Print usage and exit
25
26       --version
27              Print version and exit
28
29       --verbose
30              Print information on progress
31
32       --default-packages=list
33              Where 'list' is a  comma-separated  set  of  package  names,  or
34              'NULL'
35
36       and also options to R (in addition to --no-echo --no-restore), such as
37
38       --save Do save workspace at the end of the session
39
40       --no-environ
41              Don't read the site and user environment files
42
43       --no-site-file
44              Don't read the site-wide Rprofile
45
46       --no-init-file
47              Don't read the user R profile
48
49       --restore
50              Do restore previously saved objects at startup
51
52       --vanilla
53              Combine  --no-save,  --no-restore, --no-site-file --no-init-file
54              and --no-environ
55

SEE ALSO

57       R(1)
58
59
60
61R scripting                       April 2007                        Rscript(1)
Impressum