[R-SIG-Mac] Darwin open and '--vanilla' for R.app

Ben Tupper btupper at bigelow.org
Tue Feb 26 15:02:09 CET 2013


I have a number of configurations in my .Rprofile that are run when I start R.app.  I typically start R.app from a Terminal...

$ open -a R

... which nicely reads my .Rprofile as R.app starts.

On occasion I wish to enter R in the '--vanilla' state.  Right now I do that by starting a command line version ...

$ R --vanilla

... which starts a command line instance of R.  That is fine except that I regret the loss of the nice R.app interface while I stumble around on the command line.  So, I wonder if there is a way to start R.app in a similar way - that is start R.app without reading any of the user configurations.  I have tried tricks like the following without success.

$ open -a R --args '--vanilla'

I don't see any hints about in the R-SIG-Mac help archives nor it here...



> sessionInfo()
R version 2.15.2 (2012-10-26)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base 

Ben Tupper
Bigelow Laboratory for Ocean Sciences
60 Bigelow Drive, P.O. Box 380
East Boothbay, Maine 04544

More information about the R-SIG-Mac mailing list