\Header{interactive}{Is \R running interactively ?}
\keyword{environment}{interactive}
\keyword{programming}{interactive}
\begin{Usage}
\begin{verbatim}
interactive()
\end{verbatim}
\end{Usage}
\begin{Value}
This function returns \texttt{TRUE} when \R\ is being used interactively
and \texttt{FALSE} when not.\end{Value}
\begin{SeeAlso}
\texttt{\Link{source}}, \texttt{\Link{.First}}\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
 .First <- function() if(interactive()) x11()
\end{ExampleCode}
\end{Examples}

