\name{interactive}
\title{Is \R running interactively ?}
\usage{
interactive()
}
\alias{interactive}
\value{
This function returns \code{TRUE} when \R is being used interactively
and \code{FALSE} when not.
}
\seealso{
\code{\link{source}}
}
\examples{
 .First <- function() if(interactive()) x11()
}
\keyword{environment}
\keyword{programming}
