[R] Installing R-packages via install.package

Friedrich Leisch Friedrich.Leisch at ci.tuwien.ac.at
Fri Apr 27 09:00:56 CEST 2001

>>>>> On Fri, 27 Apr 2001 09:01:50 +0800,
>>>>> Jason Turner (JT) wrote:

  >> Speaking of automatic downloads from CRAN, last night I noticed that there
  >> is a new package "sma". "update.packages" didn't seem to notice that there
  >> was a new package. Is that because the list "update.packages" looks at
  >> didn't get updated yet, or because "update.packages" only looks to update
  >> packages you already have?

  > update.packages() only updates the ones you have.  install.packages()
  > will take a list; no default value, and no automagic parsing
  > of the CRAN site.  Which is fine - I don't want every package on 
  > my box.

That's the reason why the default is as it is ... and because there
are only few machines where you really want ALL packages from CRAN,
because that also means you need to install all librariesd they depend
upon (I'm talking about development libs like for databases, not other
R packages).

CRAN.packages() returns all packages available on CRAN,
installed.packages() all that are already installed, so getting a list
of those you don't have currently installed shouldn't be too hard :-)


r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list