We have all been in the position of trying to find the name of a command in a language, particularly if you are not totally sure of the full command name.
I've been working with R a lot recently and in particular Oracle R Enterprise. I was always trying to remember what the full command name was. Then I found the apropos function. The apropos function allows you to search R for commands based on a part or partial name. You can use regular expression syntax to define what part of the function name you are looking for. What I ended up using most often was the following command. This function call looks for all functions being with 'ore'.> apropos("^ore")
To find out more about how to use the apropos command check out the R help.> help(apropos)
No comments:
Post a Comment