Syntax

R Get Help Syntax

In R, get help: opens help for a function — ?mean help("mean")

Quick Answer

Syntax
?mean help("mean")
RSyntax

Get Help

Code example
?mean help("mean")

Opens help for a function.

Learn More

How to get help in R

  1. Open your R file or editor.
  2. Copy the example, then replace its sample names and values for your code.

R Get Help Syntax

Use ?mean help("mean").

Related Syntax References

Frequently asked questions

What is the R syntax for get help?

Use this pattern: ?mean help("mean")

Can I copy this R code example?

Yes. Use Copy code and adapt the example to your program.

Is this R syntax different on Mac or Windows?

No. The language syntax is the same across operating systems.

Official source · How we verify