The R Project SVN R

Rev

Rev 61433 | Rev 63452 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 61433 Rev 61983
Line 126... Line 126...
126
#ifdef unix
126
#ifdef unix
127
\section{Stdout and stderr}{
127
\section{Stdout and stderr}{
128
  For command-line \R, error messages written to \file{stderr} will be
128
  For command-line \R, error messages written to \file{stderr} will be
129
  sent to the terminal unless \code{ignore.stderr = TRUE}.  They can be
129
  sent to the terminal unless \code{ignore.stderr = TRUE}.  They can be
130
  captured (in the most likely shells) by
130
  captured (in the most likely shells) by
131
\preformatted{
-
 
132
    system("some command 2>&1", intern = TRUE)
131
\preformatted{    system("some command 2>&1", intern = TRUE)
133
}
132
}
134
 
133
 
135
  For GUIs, what happens to output sent to \file{stdout} or
134
  For GUIs, what happens to output sent to \file{stdout} or
136
  \file{stderr} if \code{intern = FALSE} is interface-specific, and it
135
  \file{stderr} if \code{intern = FALSE} is interface-specific, and it
137
  is unsafe to assume that such messages will appear on a GUI console
136
  is unsafe to assume that such messages will appear on a GUI console