search for: alreadyhav

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

Did you mean: alreadyhave
2015 Dec 01
1
Package Dependency
...udents are generally using Windows, but today I reproduced the same on RedHat Linux with R-3.2.2. desiredPackages is a big vector of packages to install. This is using a trick that one of R Core taught me about 15 years ago... > installedPackages <- rownames (installed.packages() ) > alreadyHave <- desiredPackages %in% installedPackages > install.packages(desiredPackages[!alreadyHave], + dependencies = c("Depends"), + lib = TARGETLIB) trying URL 'http://rweb.crmda.ku.edu/cran/src/...