\HeaderA{dev.interactive}{Is the Current Graphics Device Interactive ?}{dev.interactive}
\keyword{device}{dev.interactive}
\begin{Description}\relax
Test if the current graphics device is interactive.
\end{Description}
\begin{Usage}
\begin{verbatim}
dev.interactive(orNone = FALSE)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{orNone}] logical; if \code{TRUE}, the function also returns
\code{TRUE} when \code{\LinkA{.Device}{.Device} == "null device"} and
\code{\LinkA{getOption}{getOption}("device")} is among the interactive devices.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The \code{X11} (Unix), \code{windows} (Windows) and \code{quartz}
(MacOS X) are regarded as interactive, together with \code{GTK} and
\code{gnome} (used with the GNOME GUI: \code{GTK} is available in
package \pkg{gtkDevice} and \code{gnome} is expected to be in a
package \pkg{gnomeDevice}) and \code{JavaGD} (from the JGR project,
see \url{http://stats.math.uni-augsburg.de/JGR/}).
\end{Details}
\begin{Value}
\code{dev.interactive()} returns a logical, \code{TRUE} if and only if an
interactive (screen) device is in use.
\end{Value}
\begin{SeeAlso}\relax
\code{\LinkA{Devices}{Devices}} for the available devices on your platform.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
dev.interactive # definition -> see list of "interactive" devices explicitly
\end{ExampleCode}
\end{Examples}

