[R] Autoloading R Commander

2005-11-19 Thread Stephen P. Molnar, Ph.D.
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 ChemistryStochastic and 
multivariant
http://www.geocities.com/FoundationForChemistry

__
R-help@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


Re: [R] Autoloading R Commander

2005-11-19 Thread Uwe Ligges
Stephen P. Molnar, Ph.D. wrote:

 How do I go about autoloading R Commander when I start R?


See ?Startup

Uwe Ligges


 Thanks in advance.

__
R-help@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


Re: [R] Autoloading R Commander

2005-11-19 Thread Prof Brian Ripley
On Sat, 19 Nov 2005, Stephen P. Molnar, Ph.D. wrote:

 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,  [EMAIL PROTECTED]
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, UKFax:  +44 1865 272595

__
R-help@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


Re: [R] Autoloading R Commander

2005-11-19 Thread John Fox
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: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] 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@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


Re: [R] Autoloading R Commander

2005-11-19 Thread John Fox
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: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of John Fox
 Sent: Saturday, November 19, 2005 11:27 AM
 To: [EMAIL PROTECTED]
 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: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] 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@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

__
R-help@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