Run a script with the R programming language. More information: https://manned.org/Rscript.
Rscript {{path/to/file.R}}
Rscript --vanilla {{path/to/file.R}}
Rscript -e {{expression1}} -e {{expression2}}
Rscript --version