RSCRIPT(1)
Bestie, this is the manual for Rscript (RSCRIPT(1), from the FSF) π Let's get into it π
β¨ NAME β¨
Rscript - front end for scripting with R π§
π SYNOPSIS π
Rscript [options] file [args]
Rscript [options] -e expr [-e expr2 ...] [args]
πΈ DESCRIPTION πΈ
Okay so Rscript is a binary front-end to R, made specifically for scripting applications. It's giving reliable energy π₯
π OPTIONS π
--helpβ Pull up the usage info and exit π--versionβ Show the version and exit β¨--verboseβ Print info on progress as it goes π¦--default-packages=LISTβ Attach these packages on startup. It's a comma-separatedLISTof package names, or'NULL'π
π and options to R (in addition to --no-echo --no-restore), for example: π
--saveβ Save the workspace at the end of the session π--no-environβ Don't read the site and user environment files π ββοΈ--no-site-fileβ Don't read the site-wide Rprofile π«Ά--no-init-fileβ Don't read the user R profile πΈ--restoreβ Restore previously saved objects at startup β--vanillaβ Combine--no-save,--no-restore,--no-site-file,--no-init-fileand--no-environall in one go. Main character energy π
Expressions (one or more -e <expr>) can be used instead of file. Any additional args can be accessed from R via commandArgs(TRUE). Also, look up ?Rscript from inside R, it's iconic π
That's the whole tea, bestie π«Ά This page is from Rscript (R), dated June 2026, and it's from the FSF, periodt πβ¨
π¦ where this page comes from
- epel 10: R-core 4.6.1-1.el10_3 Β· GPL-2.0-or-later
- epel 9: R-core 4.6.1-1.el9 Β· GPL-2.0-or-later
- fedora 44: R-core 4.6.1-1.fc44 Β· GPL-2.0-or-later
- fedora 44: R-core 4.6.1-1.fc44 Β· GPL-2.0-or-later
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms