Rscript - front end for scripting with R
Rscript [options] file [args]
Rscript [options] -e expr [-e expr2 ...] [args]
A binary front-end to R, for use in scripting applications.
Print usage and exit
Print version and exit
Print information on progress
Attach these packages on startup; a comma-separated LIST of package names, or 'NULL'
Do save workspace at the end of the session
Don't read the site and user environment files
Don't read the site-wide Rprofile
Don't read the user R profile
Do restore previously saved objects at startup
Combine --no-save, --no-restore, --no-site-file, --no-init-file and --no-environ
Expressions (one or more '-e <expr>') may be used *instead* of 'file'. Any additional 'args' can be accessed from R via 'commandArgs(TRUE)'. See also ?Rscript from within R.