.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.020. .TH RSCRIPT "1" "October 2024" "Rscript (R)" FSF .SH NAME Rscript \- front end for scripting with R .SH SYNOPSIS .B Rscript [\fIoptions\fR] \fIfile \fR[\fIargs\fR] .br .B Rscript [\fIoptions\fR] \fI-e expr \fR[\fI-e expr2 \fR...] [\fIargs\fR] .SH DESCRIPTION A binary front-end to R, for use in scripting applications. .SH OPTIONS .TP \fB\-\-help\fR Print usage and exit .TP \fB\-\-version\fR Print version and exit .TP \fB\-\-verbose\fR Print information on progress .TP \fB\-\-default\-packages\fR=\fILIST\fR Attach these packages on startup; a comma-separated LIST of package names, or 'NULL' .SS "and options to R (in addition to --no-echo --no-restore), for example:" .TP \fB\-\-save\fR Do save workspace at the end of the session .TP \fB\-\-no\-environ\fR Don't read the site and user environment files .TP \fB\-\-no\-site\-file\fR Don't read the site-wide Rprofile .TP \fB\-\-no\-init\-file\fR Don't read the user R profile .TP \fB\-\-restore\fR Do restore previously saved objects at startup .TP \fB\-\-vanilla\fR Combine \fB\-\-no\-save\fR, \fB\-\-no\-restore\fR, \fB\-\-no\-site\-file\fR, \fB\-\-no\-init\-file\fR and \fB\-\-no\-environ\fR .PP Expressions (one or more '-e ') may be used *instead* of 'file'. Any additional 'args' can be accessed from R via 'commandArgs(TRUE)'. See also ?Rscript from within R.