Run R script from Powershell

Posted by Derek on Stack Overflow See other posts from Stack Overflow or by Derek
Published on 2010-04-06T01:33:21Z Indexed on 2010/04/06 1:43 UTC
Read the original article Hit count: 288

Filed under:
|
|

Hi,

In old DOS script, I can run an R script with the following syntax:

Rterm.exe --quiet --slave --vanilla < "C:\some_script.R"

However, Powershell seems to have reserved "<" for future expansion. I am wondering if there is a direct way to run R script within another powershell script.

Thanks

© Stack Overflow or respective owner

Related posts about r

    Related posts about powershell