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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] 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.