Execute R Scripts - Run R Code | Online Free DevTools by Hexmos
Execute R scripts with Rscript, the command-line interface for the R programming language. Process data analysis tasks efficiently. Free online tool, no registration required.
rscript
Run a script with the R programming language. More information: https://manned.org/Rscript.
- Run a script:
Rscript {{path/to/file.R}}
- Run a script in vanilla mode (i.e. a blank session that doesn’t save the workspace at the end):
Rscript --vanilla {{path/to/file.R}}
- Execute one or more R expressions:
Rscript -e {{expression1}} -e {{expression2}}
- Display R version:
Rscript --version
