The R Project SVN R

Rev

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

Rev 59039 Rev 62489
Line 1... Line 1...
1
% File src/library/base/man/quit.Rd
1
% File src/library/base/man/quit.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-2011 R Core Team
3
% Copyright 1995-2013 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{quit}
6
\name{quit}
7
\alias{quit}
7
\alias{quit}
8
\alias{q}
8
\alias{q}
Line 77... Line 77...
77
\references{
77
\references{
78
  Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988)
78
  Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988)
79
  \emph{The New S Language}.
79
  \emph{The New S Language}.
80
  Wadsworth & Brooks/Cole.
80
  Wadsworth & Brooks/Cole.
81
}
81
}
-
 
82
\note{
-
 
83
  The \code{R.app} GUI on OS X has its own version of these functions
-
 
84
  with slightly different behaviour for the \code{save} argument (the
-
 
85
  \sQuote{Startup} preferences for this action are taken into account).
-
 
86
}
-
 
87
\seealso{
82
\seealso{\code{\link{.First}} for setting things on startup.
88
  \code{\link{.First}} for setting things on startup.
83
}
89
}
84
\examples{
90
\examples{
85
\dontrun{## Unix-flavour example
91
\dontrun{## Unix-flavour example
86
.Last <- function() {
92
.Last <- function() {
87
  cat("Now sending PostScript graphics to the printer:\n")
93
  cat("Now sending PDF graphics to the printer:\n")
88
  system("lpr Rplots.ps")
94
  system("lpr Rplots.pdf")
89
  cat("bye bye...\n")
95
  cat("bye bye...\n")
90
}
96
}
91
quit("yes")}
97
quit("yes")}
92
}
98
}
93
\keyword{environment}
99
\keyword{environment}