Paul Roebuck wrote:
Binary distribution [Windows] -----------------------------
contrib.url(getOption("CRAN"))
[1] "http://cran.r-project.org/bin/windows/contrib/1.9"
Correct.
Binary distribution [Mac OS X] -----------------------------
contrib.url(getOption("CRAN"), type = "mac.binary")
[1] "http://cran.r-project.org/bin/macosx/1.9"
Correct. (In particular, there *must not* be .../contrib/... in the Mac version!)
Uwe Ligges
Possible update for Mac OS X version:
contrib.url <- function(CRAN, type = c("source", "mac.binary")) { type <- match.arg(type) ver <- paste(R.version$major, substring(R.version$minor, 1, 1), sep = ".") switch(type, source = file.path(CRAN, "src", "contrib"), mac.binary = file.path(CRAN, "bin", "macosx", "contrib", ver)) }
---------------------------------------------------------- SIGSIG -- signature too long (core dumped)
______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
