Created
July 23, 2014 05:14
-
-
Save casallas/3227c4ea998671e1dc72 to your computer and use it in GitHub Desktop.
Check installed R packages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
res <- apply(installed.packages(), 1, function(ip){require(package=ip["Package"], lib.loc=ip["LibPath"], character.only=T)}) | |
res[res==F] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There may be some trouble with this mehtod if you have too many packages