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

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

Dennis Murphy <djmuser <at>> 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. mailing list PLEASE do read the posting guide 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 Please read the posting guide before posting to the list.

list of date sections of archive