Hi, Looks like this was addressed in revision 61083, thanks! Note that the example provided for update.packages is still the same i.e. it shows how to use install.packages instead of update.packages.
Cheers, H. On 11/01/2012 05:13 PM, Hervé Pagès wrote:
Hi, Found in the man page for update.packages: repos: character vector, the base URL(s) of the repositories to use, i.e., the URL of the CRAN master such as ‘"http://cran.r-project.org"’ or its Statlib mirror, ‘"http://lib.stat.cmu.edu/R/CRAN"’.Can be ‘NULL’ to install from local files (‘.tar.gz’ for source packages). - Using "e.g." instead of "i.e." would seem more appropriate. - But more importantly, is repos = NULL really supported for update.packages? I wonder where I need to place the local files for this to work. I tried to put them in the current working directory but that didn't work: > packageVersion("BSgenome") [1] ‘1.27.1’ > dir() [1] "BSgenome_2.0.0.tar.gz" > update.packages(repos=NULL) This description of the 'repos' arg looks more like a copy/paste from the man page for install.packages that needed some edit. - Another copy/paste is the \examples section for update.packages that shows in fact an example for install.packages, which is the same example that is shown in the man page for install.packages. Could those minor things be corrected? Thanks, H.
-- Hervé Pagès Program in Computational Biology Division of Public Health Sciences Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N, M1-B514 P.O. Box 19024 Seattle, WA 98109-1024 E-mail: hpa...@fhcrc.org Phone: (206) 667-5791 Fax: (206) 667-1319 ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel