Re: [R] package dependency tree

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Tue 02 Jan 2007 - 17:49:01 GMT

Try this, noting that available.packages() returns a matrix whose columns include "Depends" and "Suggests" and whose rownames are the package names:

> AP <- available.packages()
> rownames(AP)[grep("quantreg", AP[, "Depends"])]
[1] "cobs" "emplik" "lss" "rankreg" "rqmcmb2"
> rownames(AP)[grep("quantreg", AP[, "Suggests"])]
[1] "apTreeshape" "diveMove" "dyn" "ggplot" "gsubfn" [6] "np"

On 1/2/07, 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?
>
>
> url: www.econ.uiuc.edu/~roger Roger Koenker
> email rkoenker@uiuc.edu Department of Economics
> vox: 217-333-4558 University of Illinois
> fax: 217-244-6678 Champaign, IL 61820
>
> ______________________________________________
> 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.
>



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 04:53: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 - 18:30:28 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.