Getting help with R functions
R scripts use 3 convenient commands to display information about functions. The help() command displays all information about a function. The args() command displays a brief summary of the parameters to a function. The example() command displays examples of the function. Information may not be available for some functions and there may be some text that does not display properly in a web browser.
http://hughesbennett.co.uk/GettingHelpWithRFunctions