The R Project SVN R

Rev

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

Rev 86027 Rev 87291
Line 1... Line 1...
1
% File src/library/base/man/srcfile.Rd
1
% File src/library/base/man/srcfile.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-2016 R Core Team
3
% Copyright 1995-2024 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{srcfile}
6
\name{srcfile}
7
\title{References to Source Files and Code}
7
\title{References to Source Files and Code}
8
\alias{srcfile}
8
\alias{srcfile}
Line 153... Line 153...
153
 
153
 
154
\code{srcref} returns a \code{srcref} object.
154
\code{srcref} returns a \code{srcref} object.
155
}
155
}
156
\seealso{
156
\seealso{
157
  \code{\link{getSrcFilename}} for extracting information from a source
157
  \code{\link{getSrcFilename}} for extracting information from a source
158
  reference, or \code{\link{removeSource}} to remove it from a
158
  reference, or \code{\link{removeSource}} to remove it from a language
159
  (non-primitive) function (aka \sQuote{closure}).
159
  object or a (non-primitive) function (aka \sQuote{closure}).
160
}
160
}
161
\author{Duncan Murdoch}
161
\author{Duncan Murdoch}
162
\examples{
162
\examples{
163
src <- srcfile(system.file("DESCRIPTION", package = "base"))
163
src <- srcfile(system.file("DESCRIPTION", package = "base"))
164
\dontdiff{summary(src)}% timestamp
164
\dontdiff{summary(src)}% timestamp