| Line 1... |
Line 1... |
| 1 |
% File src/library/base/man/formals.Rd
|
1 |
% File src/library/base/man/formals.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-2022 R Core Team
|
3 |
% Copyright 1995-2023 R Core Team
|
| 4 |
% Distributed under GPL 2 or later
|
4 |
% Distributed under GPL 2 or later
|
| 5 |
|
5 |
|
| 6 |
\name{formals}
|
6 |
\name{formals}
|
| 7 |
\title{Access to and Manipulation of the Formal Arguments}
|
7 |
\title{Access to and Manipulation of the Formal Arguments}
|
| 8 |
\alias{formals}
|
8 |
\alias{formals}
|
| Line 17... |
Line 17... |
| 17 |
\arguments{
|
17 |
\arguments{
|
| 18 |
\item{fun}{a \code{\link{function}}, or see \sQuote{Details}.}
|
18 |
\item{fun}{a \code{\link{function}}, or see \sQuote{Details}.}
|
| 19 |
\item{envir}{\code{\link{environment}} in which the function should be
|
19 |
\item{envir}{\code{\link{environment}} in which the function should be
|
| 20 |
defined (or found via \code{\link{get}()} in the first case and when
|
20 |
defined (or found via \code{\link{get}()} in the first case and when
|
| 21 |
\code{fun} a character string).}
|
21 |
\code{fun} a character string).}
|
| 22 |
\item{value}{a \code{\link{list}} (or \code{\link{pairlist}}) of \R expressions.}
|
22 |
\item{value}{a \code{\link{list}} (or \code{\link{pairlist}}, hence possibly
|
| - |
|
23 |
\code{\link{NULL}}) of \R expressions.}
|
| 23 |
}
|
24 |
}
|
| 24 |
\details{
|
25 |
\details{
|
| 25 |
For the first form, \code{fun} can also be a character string naming
|
26 |
For the first form, \code{fun} can also be a character string naming
|
| 26 |
the function to be manipulated, which is searched for in \code{envir},
|
27 |
the function to be manipulated, which is searched for in \code{envir},
|
| 27 |
by default from the parent
|
28 |
by default from the parent
|