Working in the console

Note that the working directory will be the same one as the command window R was called from.

Run the R script and print output on the console

Rscript script.R

Run the R script and print output in a file script.Rout

R CMD BATCH script.R

Open interactive session

R                          # Opens interactive session 
source("../../rscript.R")  # Call a script

Execute system command

system('execute run001.mod')

results matching ""

    No results matching ""