The R Project SVN R

Rev

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

Rev 68948 Rev 74897
Line 1... Line 1...
1
% File src/library/base/man/Primitive.Rd
1
% File src/library/base/man/Primitive.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-2014 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{Primitive}
6
\name{Primitive}
7
\alias{.Primitive}
7
\alias{.Primitive}
8
\alias{primitive}
8
\alias{primitive}
Line 30... Line 30...
30
  \code{\link{get}(name, envir = baseenv())} work equally well and do
30
  \code{\link{get}(name, envir = baseenv())} work equally well and do
31
  not depend on knowing which functions are primitive (which does change
31
  not depend on knowing which functions are primitive (which does change
32
  as \R evolves).
32
  as \R evolves).
33
}
33
}
34
\seealso{
34
\seealso{
-
 
35
  \code{\link{is.primitive}} showing that primitive functions come in
-
 
36
  two types (\code{\link{typeof}}),
35
  \code{\link{.Internal}}.
37
  \code{\link{.Internal}}.
36
}
38
}
37
\examples{
39
\examples{
38
mysqrt <- .Primitive("sqrt")
40
mysqrt <- .Primitive("sqrt")
39
c
41
c