search for: packagelow

Displaying 1 result from an estimated 1 matches for "packagelow".

2005 Apr 24
5
"Debain" way of installing packages
...e) # Transform R package name to Debian package name policy i.e change R # package name to lowercase and test if this Debian package exists # (test1). This could be done without grep, but then it is not possible # to test on exit status, since apt-cache search always returns 0. packagelow <- tolower(package) tmp1 <- c("system(\"apt-cache search ^r- | grep") tmp2 <- c("| awk '{print $1}'\", intern = TRUE\)") tmp3 <- as.expression(paste(tmp1, packagelow, tmp2, "\n")) deb <- eval(parse(file = "", t...