[R] Running an R scrit from Automator
Patrick Schorderet
patrick.schorderet at gmail.com
Fri Sep 13 19:02:14 CEST 2013
I'm trying to write an Automator script for people who don't want to run scripts from the R console.
The workflow would ideally look like this:
- Ask user to enter different parameters (I was able to do this part)
- Run an R script using the paramters
I guess I need to run R via a shell script, but I just can't get my head around the problem.
Whatever I am doing, my R just pops open and closes directly.
This is what I tried (in Automator):
open "/usr/bin/Rscript" "./test_file/test.R"
More information about the R-help
mailing list