The R Project SVN R

Rev

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

Rev 16802 Rev 18994
Line 1... Line 1...
1
\name{substituteDirect}
1
\name{substituteDirect}
2
\alias{substituteDirect}
2
\alias{substituteDirect}
3
\title{SubstituteDirect}
3
\title{SubstituteDirect}
4
\usage{
-
 
5
substituteDirect(object, frame, cleanFunction=T)
-
 
6
}
-
 
7
\description{
4
\description{
8
  Substitute for the variables named in the second argument the corresponding
5
  Substitute for the variables named in the second argument the
9
objects, substituting into \code{object}.  The argument \code{frame}
6
  corresponding objects, substituting into \code{object}.  The argument
10
is a named list; if omitted, the environment of the caller is used.
7
  \code{frame} is a named list; if omitted, the environment of the
-
 
8
  caller is used.
11
 
9
 
12
This function differs from the ordinary \code{substitute} in that it treats its first argument
10
  This function differs from the ordinary \code{substitute} in that it
13
in the standard S way, by evaluating it.  In contrast, \code{substitute} does
11
  treats its first argument in the standard S way, by evaluating it.  In
14
not evaluate its first argument.
12
  contrast, \code{substitute} does not evaluate its first argument.
15
 
-
 
16
The goal is to replace this with an \code{eval=} argument to \code{\link{substitute}}.
-
 
17
 
13
 
-
 
14
  The goal is to replace this with an \code{eval=} argument to
-
 
15
  \code{\link{substitute}}.
18
}
16
}
19
\examples{
17
\usage{
-
 
18
substituteDirect(object, frame, cleanFunction=TRUE)
20
}
19
}
21
\keyword{internal}
20
\keyword{internal}