Dear All,
I want to check what packages depends on a given package. For example,
glmnet depends on Matrix. I want get the names of all the packages
that depend on Matrix on CRAN. Is there a way to do so? Thanks!
library(glmnet)
Loading required package: Matrix
Loading required package: lattice
Hi:
Here's one way, assuming Matrix (or whichever package you want to
investigate) is installed on your system:
u - installed.packages()
u['Matrix', 'Depends']
[1] R (= 2.10.0), stats, methods, utils, lattice
HTH,
Dennis
On Wed, Apr 13, 2011 at 8:57 AM, thmsfuller...@gmail.com
On Wed, Apr 13, 2011 at 11:57 AM, thmsfuller...@gmail.com
thmsfuller...@gmail.com wrote:
Dear All,
I want to check what packages depends on a given package. For example,
glmnet depends on Matrix. I want get the names of all the packages
that depend on Matrix on CRAN. Is there a way to do so?
Dennis Murphy djmuser at gmail.com writes:
Hi:
Here's one way, assuming Matrix (or whichever package you want to
investigate) is installed on your system:
u - installed.packages()
u['Matrix', 'Depends']
[1] R (= 2.10.0), stats, methods, utils, lattice
HTH,
Dennis
Or, if it's
4 matches
Mail list logo