Skip to Content

Running R scripts from VBA

How can I run a R script from VBA? Say I have a R script stored as C:\XXX\testR.R

I tried using Shell, but not quite successful.