In R: how to access the index in library(help = "pcks_name")?
I would like to 开发者_运维知识库access the list of functions and their descriptions that is given in
library(help = "pcks_name")
My ideal would be to have this list exported into a file (txt, html, pdf).
Thanks.
You could do
res <- library(help="MASS")
class(res) <- "list"
and access res$info[[2]]
精彩评论