0

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.

2
  • cron and Rscript or r (from litter)? Commented Jun 26, 2018 at 15:11
  • @GordonShumway The nominated duplicate is heavily Windows-biased. Reading between the lines a bit, it should not be hard to see how to apply it on Mac. I added another couple of duplicates as well. Commented Jun 27, 2018 at 3:48

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.