File: cmdArgsCall.Rd

package info (click to toggle)
r-cran-r.utils 2.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,864 kB
  • sloc: sh: 18; makefile: 6
file content (50 lines) | stat: -rw-r--r-- 1,204 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
% 
%  cmdArgs.R
% 
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\name{cmdArgsCall}
\alias{cmdArgsCall}


\title{Calls an R function passing command-line arguments}

\description{
  Calls an R function passing command-line arguments.
}

\usage{
cmdArgsCall(..., args=cmdArgs(unique = FALSE), .ignoreUnusedArgs=FALSE,
  envir=parent.frame())
}

\arguments{
 \item{...}{Arguments passed to \code{\link{doCall}}(), including the function
  to be called.}
 \item{args}{A \code{\link[base]{list}} of arguments to be passed to the function
  being called.}
 \item{.ignoreUnusedArgs}{Passed to \code{\link{doCall}}().}
 \item{envir}{An \code{\link[base]{environment}} in which to evaluate the call.}
}

\value{
  Returns whatever the called function returns.
}

\author{Henrik Bengtsson}

\examples{\dontrun{
  Rscript -e R.utils::cmdArgsCall(rnorm) n=4
}}

\seealso{
  Internally, \code{\link{cmdArgs}}() and \code{\link{doCall}}() is used.
}



\keyword{programming}
\keyword{internal}