KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In R, one very neat feature is that the source code of functions is accessible as objects in the workspace. Thus, if I wanted to know the source code of, for example, grep() I can simply type grep into the console and read the code. Similarly, I can read the documentation for grep by typing ?grep into the console. Question: How can I get the source code for the documentation of a function? In other words, where do I find the .rd files? I find studying the source of well-written code an excellent way of learning the idioms. Now I want to study how to write documentation for some very specific cases. I have not been able to find the documentation files for any of the base R functions in my R installation. Perhaps I have been looking in the wrong place.
Tags (comma-separated)
Save Edits
Cancel