Hi,

install.packages() seems to be broken in latest R-devel snapshot
(2010-07-19 r52561) if you are using an
R/R.version$platform-library/x.y directory.

  > .libPaths()
  [1] "/home/hpages/R/x86_64-unknown-linux-gnu-library/2.12"
  [2] "/home/hpages/R-2.12/library"

  > install.packages("car")
  Error in sprintf(gettext(fmt, domain = domain), ...) : too few arguments

Looks like the problem is in these lines (lines 194-197 in
file src/library/utils/R/packages2.R):

  lib <- .libPaths()[1L]
  if (length(.libPaths()) > 1L)
message(gettextf("Installing package(s) into %s\n(as %s is unspecified)",
              sQuote(lib)), domain = NA)

Cheers,
H.


> sessionInfo()
R version 2.12.0 Under development (unstable) (2010-07-19 r52561)
Platform: x86_64-unknown-linux-gnu (64-bit)

locale:
 [1] LC_CTYPE=en_US.utf8       LC_NUMERIC=C
 [3] LC_TIME=en_US.utf8        LC_COLLATE=en_US.utf8
 [5] LC_MONETARY=C             LC_MESSAGES=en_US.utf8
 [7] LC_PAPER=en_US.utf8       LC_NAME=C
 [9] LC_ADDRESS=C              LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] tools_2.12.0


--
Hervé Pagès

Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M2-B876
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

Reply via email to