X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=trunk%2Fexec%2Fget_base_pkgs;h=9ec4d29acb3389f3a9fec0e67ca7d73c31de5cb9;hb=a0ab32e8b1483ed1584c3ef1c5e0d9200714277d;hp=d08d62546b73186e9111667a0f595f3143c2e80f;hpb=a29ccad70f6598e86efc57dad8201b107e658fb5;p=cran2deb.git diff --git a/trunk/exec/get_base_pkgs b/trunk/exec/get_base_pkgs index d08d625..9ec4d29 100755 --- a/trunk/exec/get_base_pkgs +++ b/trunk/exec/get_base_pkgs @@ -1,4 +1,6 @@ #!/usr/bin/env r +instPkgs <- installed.packages(lib.loc="/usr/lib/R/library") +instPkgs <- instPkgs[ instPkgs[,"Priority"] == 'base', ] for (pkg in rownames(installed.packages())) { message(pkg) }