Searching for functions in R library

r, search

Solution

For a listing of all the functions within a package, and links to their documentations, do:

help(package = "graphics")

That of course assumes that you have installed the package.

For your other question:

If you already know the name of the function you are looking for, do not use `help.search("plot")` but `help("plot")`. As the name suggests, `help.search` does a search through all the docs and returns every hit, very much like a Google search.

Finally, know that you can use:

- `?plot` as a shortcut to `help("plot")`

- `??plot` as a shortcut to `help.search("plot")`.

Problem

New to the forum. Is there a way to search for functions within a particular library in R? Lets say I would like a list of all the functions in the "graphics" library. How would do that? If I want to find the specific documentation on the "plot" command I am having trouble finding the documentation when I used the help.search("plot"). It gives me all these other functions from different libraries. I just want to be able to find and narrow down the searches when I look for a particular function.

Original source

Related problems