list all functions on CRAN
Posted
by
baptiste
on Stack Overflow
See other posts from Stack Overflow
or by baptiste
Published on 2012-07-08T00:36:42Z
Indexed on
2012/07/08
3:15 UTC
Read the original article
Hit count: 164
Suppose I'm trying to run a script of unknown origin, and one of the functions is from a package that is not loaded by the script (an oversight, maybe it was loaded in the .Rprofile
of the person who wrote it). How can I find in which package this function resides?
There's some information compiled on CRAN, that doesn't require the user to download/install all R packages locally; however as far as I could tell it only gives access to the DESCRIPTION files. RSiteSearch, and its web equivalent, seem to access an online database of all CRAN packages, where presumably a list of all functions would be available. Is there some way of accessing this information?
Thanks.
Edit: I know sos::findFn
, utils::RSiteSearch
and search.r-project; what I would like is to get the raw data that these tools use.
© Stack Overflow or respective owner