search for: localcran

Displaying 2 results from an estimated 2 matches for "localcran".

Did you mean: localca
2006 Aug 29
1
PATCH: Add fields argument to installed.packages and available.packages
...lds) && is.character(fields)) + fields <- unique(c(requiredFields, fields)) + else + fields <- requiredFields + res <- matrix(as.character(NA), 0, length(fields) + 1) + colnames(res) <- c(fields, "Repository") for(repos in contriburl) { localcran <- length(grep("^file:", repos)) > 0 if(localcran) { @@ -23,7 +28,7 @@ if(length(grep("[A-Za-z]:", tmpf))) tmpf <- substring(tmpf, 2) } - res0 <- read.dcf(file = tmpf, fields = flds) +...
2004 Dec 31
4
install.packages() for local source file
Wish to install a local source package on Un*x platform from within R. Same thing as I can accomplish from cmdline as $ export R_LIBS=~/R/library $ cd /path/to/pkg $ R CMD INSTALL -l $R_LIBS <pkgname> So, how do you go about this anyway? And isn't this a bug in 'install.packages'? ------- $ R R : Copyright 2004, The R Foundation for Statistical Computing Version 1.9.0