[R] How to get the names of all the packages that depend on a give package?
bbolker at gmail.com
Wed Apr 13 19:55:41 CEST 2011
Dennis Murphy <djmuser <at> gmail.com> writes:
> Here's one way, assuming Matrix (or whichever package you want to
> investigate) is installed on your system:
> u <- installed.packages()
> u['Matrix', 'Depends']
>  "R (>= 2.10.0), stats, methods, utils, lattice"
Or, if it's not installed locally, use
u <- available.packages()
More information about the R-help