Re: [R] How to get the names of all the packages that depend on a give package?

From: Ben Bolker <bbolker_at_gmail.com>
Date: Wed, 13 Apr 2011 17:55:41 +0000

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 not installed locally, use

u <- available.packages()
u['Matrix', 'Depends']

instead.



R-help_at_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. Received on Wed 13 Apr 2011 - 18:02:09 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 13 Apr 2011 - 20:00:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive