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" ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.