The R Project SVN R

Rev

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

Rev 61168 Rev 61465
Line 1... Line 1...
1
% File src/library/base/man/stop.Rd
1
% File src/library/base/man/stop.Rd
2
% Part of the R package, http://www.R-project.org
2
% Part of the R package, http://www.R-project.org
3
% Copyright 1995-2007 R Core Team
3
% Copyright 1995-2012 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{stop}
6
\name{stop}
7
\title{Stop Function Execution}
7
\title{Stop Function Execution}
8
\usage{
8
\usage{
Line 15... Line 15...
15
  \item{\dots}{zero or more objects which can be coerced to character
15
  \item{\dots}{zero or more objects which can be coerced to character
16
    (and which are pasted together with no separator) or a single
16
    (and which are pasted together with no separator) or a single
17
    condition object.}
17
    condition object.}
18
  \item{call.}{logical, indicating if the call should become part of the
18
  \item{call.}{logical, indicating if the call should become part of the
19
    error message.}
19
    error message.}
20
  \item{domain}{see \code{\link{gettext}}. If \code{NA}, messages will
20
  \item{domain}{see \code{\link{gettext}}.  If \code{NA}, messages will
21
    not be translated.}
21
    not be translated.}
22
}
22
}
23
\description{
23
\description{
24
  \code{stop} stops execution of the current expression and executes
24
  \code{stop} stops execution of the current expression and executes
25
  an error action.
25
  an error action.
Line 45... Line 45...
45
  characters, default 1000.
45
  characters, default 1000.
46
 
46
 
47
  If a condition object is supplied it should be the only argument, and
47
  If a condition object is supplied it should be the only argument, and
48
  further arguments will be ignored, with a warning.
48
  further arguments will be ignored, with a warning.
49
}
49
}
-
 
50
\note{
-
 
51
  Use \code{domain = NA} whenever \code{\dots} contain a
-
 
52
  result from \code{\link{gettextf}()} as that is translated already.
-
 
53
}
50
\value{
54
\value{
51
  \code{geterrmessage} gives the last error message, as a character string
55
  \code{geterrmessage} gives the last error message, as a character string
52
  ending in \code{"\\n"}.
56
  ending in \code{"\\n"}.
53
}
57
}
54
\references{
58
\references{