How do I go about autoloading R Commander when I start R? Thanks in advance.
Stephen P. Molnar, Ph.D. Life is a fuzzy set Foundation for Chemistry Stochastic and multivariant http://www.geocities.com/FoundationForChemistry
5 messages · Stephen P. Molnar, Uwe Ligges, Brian Ripley +1 more
How do I go about autoloading R Commander when I start R? Thanks in advance.
Stephen P. Molnar, Ph.D. Life is a fuzzy set Foundation for Chemistry Stochastic and multivariant http://www.geocities.com/FoundationForChemistry
How do I go about autoloading R Commander when I start R?
See ?Startup Uwe Ligges
Thanks in advance.
How do I go about autoloading R Commander when I start R?
Read ?Startup. My first idea would be to make use of a ~/.Rprofile file. `Autoloading' is a technical term in R (see ?autoload), which I presume is not what you meant. My guess is that you want R Commander to be started when you start R.
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Dear Stephen,
I believe that this question has been asked before, though possibly
privately rather than on the r-help list. A solution (kindly provided, as I
recall, by Brian Ripley) is to put the following in an appropriate start-up
file. For example, if you *always* want to start the Rcmdr when R starts,
this could go in Rprofile.site in R's etc subdirectory. For more detail, see
?Startup, as others have suggested.
local({
old <- getOption("defaultPackages")
options(defaultPackages = c(old, "Rcmdr"))
})
I hope this helps,
John
--------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
--------------------------------
-----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Stephen P. Molnar, Ph.D. Sent: Saturday, November 19, 2005 10:35 AM To: R Subject: [R] Autoloading R Commander How do I go about autoloading R Commander when I start R? Thanks in advance. -- Stephen P. Molnar, Ph.D. Life is a fuzzy set Foundation for Chemistry Stochastic and multivariant http://www.geocities.com/FoundationForChemistry
Dear Stephen, As a brief addendum, this information (and other information) is in the Rcmdr installation notes, at http://socserv.socsci.mcmaster.ca/jfox/Misc/Rcmdr/installation-notes.html. Sorry I forgot that when I posted my original answer. John -------------------------------- John Fox Department of Sociology McMaster University Hamilton, Ontario Canada L8S 4M4 905-525-9140x23604 http://socserv.mcmaster.ca/jfox --------------------------------
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of John Fox
Sent: Saturday, November 19, 2005 11:27 AM
To: s.molnar at sbcglobal.net
Cc: 'R'
Subject: Re: [R] Autoloading R Commander
Dear Stephen,
I believe that this question has been asked before, though
possibly privately rather than on the r-help list. A solution
(kindly provided, as I recall, by Brian Ripley) is to put the
following in an appropriate start-up file. For example, if
you *always* want to start the Rcmdr when R starts, this
could go in Rprofile.site in R's etc subdirectory. For more
detail, see ?Startup, as others have suggested.
local({
old <- getOption("defaultPackages")
options(defaultPackages = c(old, "Rcmdr"))
})
I hope this helps,
John
--------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox
--------------------------------
-----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Stephen P. Molnar, Ph.D. Sent: Saturday, November 19, 2005 10:35 AM To: R Subject: [R] Autoloading R Commander How do I go about autoloading R Commander when I start R? Thanks in advance. -- Stephen P. Molnar, Ph.D. Life is a fuzzy set Foundation for Chemistry Stochastic and multivariant http://www.geocities.com/FoundationForChemistry
______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html