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 <
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? Thanks!
>
> > library(glmnet)
> Loading required package: Matrix
> Loading required package: lattice
>
> --
> Tom
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to