This help topic is for R version 0.60. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/demo.html
demo {base}R Documentation

Demonstrations of R functions

Description

demo is a user-friendly interface to running some demonstration R scripts. demo() gives the list of available topics.

Usage

demo(topic)

Arguments

topic

The topic which should be demonstrated. If omitted, the list of available topics is displayed.

See Also

source which is called by demo.

Examples

demo(lm.glm)

[Package base version 0.60 ]