How to access the help/documentation .rd source files in R?

It seems you can extract the Rd sources from an installed R. I’m using R-devel (2011-09-05 r56942). Get the database of Rd for the base package. library(tools) db <- Rd_db(“base”) Search for “grep.Rd” in the names of the Rd DB, for example: grep(“grep.Rd”, names(db), value = TRUE) [1] “d:/murdoch/recent/R64/src/library/base/man/agrep.Rd” [2] “d:/murdoch/recent/R64/src/library/base/man/grep.Rd” Get just the Rd … Read more