Re: [R] package dependency tree

From: Sebastian P. Luque <spluque_at_gmail.com>
Date: Tue 02 Jan 2007 - 18:00:19 GMT

On Tue, 2 Jan 2007 11:20:10 -0600,
roger koenker <rkoenker@uiuc.edu> wrote:

> Is there a painless way to find the names of all packages on CRAN that
> "Depend" on a specified package?

Maybe this is not too painful:

pkgs <- available.packages() # repos arg may be useful here pkgs.dpnd <- pkgs[grep("quantreg", pkgs[, "Depends"]), ] names(pkgs.dpnd)

-- 
Seb

______________________________________________
R-help@stat.math.ethz.ch 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 Jan 03 09:14:09 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 02 Jan 2007 - 23:30: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.