when you need help in R ?
when you use R and you need help such as you need to know about the mean of word. you can
R has an inbuilt help facility similar to the
man
facility of UNIX. To get more information on any specific named function, for example solve
, the command is
> help(solve)
or
> ?solve
For a feature specified by special characters, the argument must be enclosed in double or single quotes, making it a “character string”: This is also necessary for a few words with syntactic meaning including
if
, for
and function
.> help("[[")
Either form of quote mark may be used to escape the other, as in the string
"It's important"
. Our convention is to use double quote marks for preference.
On most R installations help is available in HTML format by running
> help.start()
The
help.search
command allows searching for help in various ways. For example,> ??solve
The examples on a help topic can normally be run by
> example(topic)
Windows versions of R have other optional help systems: use
> ?help
ไม่มีความคิดเห็น:
แสดงความคิดเห็น