question: Functional help with ? operator

?R Documentation

Functional help with ? operator

Description

Displays help and structure of an object, or help of a package. Two syntax sugars are added to enhance utils::?. One is object?. which works as if ?object. Another is package?p which works as if help(package = package)

Usage

`?`(e1, e2)

Arguments

e1

A topic of document. Refer to topic argument described in utils::`?`.

e2

. and p have special meanings as documented above. Otherwise, e2 is same as type argument of utils::`?`.

Examples

# Identical to help(identity); print(identity)
?identity
identity?.  # The same

# Identical to help(iris); str(iris)
?iris
iris?.  # The same

# Identical to help(package = stats)
stats?p


felp documentation built on Oct. 9, 2022, 5:05 p.m.