demo: Demonstrates R Functionality

View source: R/DATA606-package.R

demoR Documentation

Demonstrates R Functionality

Description

This overwrites the demo function in the utils package setting by setting ask=FALSE and echo=FALSE.

Usage

demo(topic, echo = FALSE, ask = FALSE, ...)

Arguments

topic

the topic which should be demonstrated, given as a name or literal character string, or a character string, depending on whether character.only is FALSE (default) or TRUE. If omitted, the list of available topics is displayed.

echo

a logical. If TRUE, show the R input when sourcing.

ask

a logical (or "default") indicating if devAskNewPage(ask = TRUE) should be called before graphical output happens from the demo code. The value "default" (the factory-fresh default) means to ask if echo == TRUE and the graphics device appears to be interactive. This parameter applies both to any currently opened device and to any devices opened by the demo code. If this is evaluated to TRUE and the session is interactive, the user is asked to press RETURN to start.


jbryer/DATA606 documentation built on Feb. 17, 2024, 4:13 a.m.