\Header{demo}{Demonstrations of R functions}
\keyword{documentation}{demo}
\keyword{utilities}{demo}
\begin{Description}\relax
\code{demo} is a user-friendly interface to running some demonstration R
scripts. \code{demo()} gives the list of available topics.\end{Description}
\begin{Usage}
\begin{verbatim}demo(topic, device = getOption("device"))\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{topic}] The topic which should be demonstrated.
If omitted, the list of available topics is displayed.
\item[\code{device}] The graphics device to be used.
\end{ldescription}
\end{Arguments}
\begin{SeeAlso}\relax
\code{\Link{source}} which is called by \code{demo}.\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
demo(lm.glm)
\end{ExampleCode}
\end{Examples}

