Rscript <file> <args...>

Scripting Front-End for R

Arguments

NameDescription
fileR script to run
argsArguments to pass to the script

Options

NameDescription
-e <expression>
  • Repeatable ♾
--helpPrint usage and exit
--versionPrint version and exit
--verbosePrint information on progress
--no-echoRun as quietly as possible
--no-restoreDon't restore anything
--saveDo save workspace at the end of the session
--no-environDon't read the site and user environment files
--no-site-fileDon't read the site-wide Rprofile
--no-init-fileDon't read the user R profile
--restoreDo restore previously saved objects at startup
--vanillaCombine --no-save, --no-restore, --no-site-file --no-init-file and --no-environ
--default-packages <packages>Comma separated list of default packages