The R Project SVN R

Rev

Rev 2 | Rev 286 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

\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()
}