2.6 Getting help with R
Documentation within R is sometimes helpful, sometimes less so. To see the help file for a given command, enter help(command)
, or (equivalently) ?command
. These will bring up a tutorial with a basic description, usage, arguments, syntax, and other notes about the command. For example, to get help with setting a working directory:
help(setwd)
?setwd
If that fails, ask the internet by searching Google or https://rseek.org/, a search engine dedicated specifically to results about R.