The R Project SVN R

Rev

Rev 68948 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 68948 Rev 74686
Line 1... Line 1...
1
% File src/library/base/man/commandArgs.Rd
1
% File src/library/base/man/commandArgs.Rd
2
% Part of the R package, https://www.R-project.org
2
% Part of the R package, https://www.R-project.org
3
% Copyright 1995-2007 R Core Team
3
% Copyright 1995-2018 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{commandArgs}
6
\name{commandArgs}
7
\alias{commandArgs}
7
\alias{commandArgs}
8
\title{Extract Command Line Arguments}
8
\title{Extract Command Line Arguments}
Line 33... Line 33...
33
  embedded \R it can be anything the programmer supplied.
33
  embedded \R it can be anything the programmer supplied.
34
 
34
 
35
  If \code{trailingOnly = TRUE}, a character vector of those arguments
35
  If \code{trailingOnly = TRUE}, a character vector of those arguments
36
  (if any) supplied after \option{--args}.
36
  (if any) supplied after \option{--args}.
37
}
37
}
38
\seealso{\code{\link{Startup}}
38
\seealso{\code{\link{R.home}()}, \code{\link{Startup}}
39
#ifdef unix
39
#ifdef unix
40
\code{\link{BATCH}}
40
and \code{\link{BATCH}}
41
#endif
41
#endif
42
}
42
}
43
\examples{
43
\examples{
44
commandArgs()
44
commandArgs()
45
## Spawn a copy of this application as it was invoked,
45
## Spawn a copy of this application as it was invoked,