Hello R gurus, Until recently, I used the following commands to update R: options(CRAN = "http://cran.stat.ucla.edu") install.packages(CRAN.packages()[,1]) But now I am told that install.packages is deprecated and that I should use available.packages Can anyone tell me what the corresponding commands are when using available.packages? Thank you for your time. [[alternative HTML version deleted]]
CRAN.packages() is deprecated. On 13/09/2007, A Lenzo <alenzo@mail.rochester.edu> wrote:> > Hello R gurus, > > Until recently, I used the following commands to update R: > > options(CRAN = "http://cran.stat.ucla.edu") > install.packages(CRAN.packages()[,1]) > > But now I am told that install.packages is deprecated and that I should > use > available.packages > > Can anyone tell me what the corresponding commands are when using > available.packages? > > Thank you for your time. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O [[alternative HTML version deleted]]
A Lenzo wrote:> Hello R gurus, > > Until recently, I used the following commands to update R: > > options(CRAN = "http://cran.stat.ucla.edu") > install.packages(CRAN.packages()[,1]) > > But now I am told that install.packages is deprecated and that I should use > available.packagesNo, it tells you that 'CRAN.packages' is deprecated. Do you really want to install all packages? If so, see ?available.packages and use that one instaed of CRAN.packages ... It is more meaningful, because there are other repositories than CRAN around, one of them BioConductor, for example. Uwe Ligges> Can anyone tell me what the corresponding commands are when using > available.packages? > > Thank you for your time. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.