\Header{interactive}{Is R Running Interactively?}
\keyword{environment}{interactive}
\keyword{programming}{interactive}
\begin{Description}\relax
Return \code{TRUE} when \R{} is being used interactively and
\code{FALSE} otherwise.\end{Description}
\begin{Usage}
\begin{verbatim}
interactive()
\end{verbatim}
\end{Usage}
\begin{SeeAlso}\relax
\code{\Link{source}},
\code{\Link{.First}}\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
 .First <- function() if(interactive()) x11()
\end{ExampleCode}
\end{Examples}

