randy3k / radian

A 21 century R console
MIT License
2k stars 76 forks source link

How to run an R script from the shell using radian? #386

Closed ibuiltthis closed 1 year ago

ibuiltthis commented 1 year ago

I can not find a way to run an R script from the shell but using the radian console. Basically I am looking for the radian equivalent of Rscript ./myscript.R or Rscript -e 'source(".myscript.R", echo=TRUE)'. Does such a thing exist?

randy3k commented 1 year ago

Radian is for interactive usage.
Please use Rscript for running R scripts.

ibuiltthis commented 1 year ago

Okay. I would have found the coloured output that radian provides useful.