I am trying to share some R code with colleagues who don't know R. I have created a batch file so they can just double-click it and run the R script without even opening R. But it creates a .RData
file.
My question is, can I prevent R from creating the .RData
file?
I've read here Disable saving history that I could disable it through RStudio global options but my colleagues are installing just R and won't need to ever open it, so I am looking for some kind of solution of the likes of options(...)
that I can just put in my Rscript, or maybe something that could be speficied in the batch file call.