Skip to content
Prev 138277 / 398506 Next

Script to start Rcmdr

Dear Ronaldo,

You should be able to put

local({
old <- getOption("defaultPackages")
options(defaultPackages = c(old, "Rcmdr"))
})

in an .Rprofile file in a directory reserved for this purpose, and have your
bash script start R from that directory (untested). See ?Startup for details
on how R starts.

I hope this helps,
 John

--------------------------------
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox