Execute R script within R project from MAC terminal

2.6k views Asked by At

I have a set of projects in R studio which I open and run a script within them on a daily basis. I want to automate this procedure to save time, by creating a bash script that will open the projects, run the script within them and then close them. I am to the point that I can open a project by running open project.Rproj but I have not found how to execute a script once I open the project in some automated manner (using a bash command). Any ideas? Thank you.

0

There are 0 answers