Rev 81209 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
.TH Rscript "1" "November 2021" "R scripting" FSF.SH NAMERscript \- front end for scripting with R.SH SYNOPSIS.B Rscript[\fIoptions\fR] [\fI-e expr\fR [\fI-e expr2\fR ...] | \fIfile\fR] [\fIargs\fR].SH DESCRIPTIONA binary front-end to R, for use in scripting applications..TP\fBexpr\fROptional expressions to be evaluated, used in place of \fBfile\fR..TP\fBfile\fRInput file of R expressions..TP\fBargs\fROptional arguments to be processed by \fIcommandArgs\fR in the R interpreter..SH OPTIONS\fBoptions\fR accepted in [options]:.TP\fB\-\-help\fRPrint usage and exit.TP\fB\-\-version\fRPrint version and exit.TP\fB\-\-verbose\fRPrint information on progress.TP\fB\-\-default\-packages\fR=\fIlist\fRWhere 'list' is a comma-separated set of package names, or 'NULL'.PPand also options to R (in addition to \fB\-\-no-echo\fR \fB\-\-no\-restore\fR),such as.TP\fB\-\-save\fRDo save workspace at the end of the session.TP\fB\-\-no\-environ\fRDon't read the site and user environment files.TP\fB\-\-no\-site\-file\fRDon't read the site-wide Rprofile.TP\fB\-\-no\-init\-file\fRDon't read the user R profile.TP\fB\-\-restore\fRDo restore previously saved objects at startup.TP\fB\-\-vanilla\fRCombine \fB\-\-no\-save\fR, \fB\-\-no\-restore\fR, \fB\-\-no\-site\-file\fR\fB\-\-no\-init\-file\fR and \fB\-\-no\-environ\fR.SH "SEE ALSO"\fBR\fR\|(1), \fB?Rscript\fR from within R