Examples (4)
Run a script
Rscript path/to/file.RRun a script in vanilla mode (i.e. a blank session that doesn't save the workspace at the end)
Rscript --vanilla path/to/file.RExecute one or more R expressions
Rscript -e expression1 -e expression2Display version
Rscript --versionmade by @shridhargupta | data from tldr-pages