The R Project SVN R

Rev

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

Rev 59039 Rev 61150
Line 31... Line 31...
31
}
31
}
32
\seealso{\code{\link{R.version}}, \code{\link{system}}.}
32
\seealso{\code{\link{R.version}}, \code{\link{system}}.}
33
\examples{
33
\examples{
34
x <- stats::runif(20); small <- x < 0.4
34
x <- stats::runif(20); small <- x < 0.4
35
## In the early years of R, 'which()' only existed in R:
35
## In the early years of R, 'which()' only existed in R:
36
if(is.R()) which(small) else seq(along=small)[small]
36
if(is.R()) which(small) else seq(along = small)[small]
37
}
37
}
38
\keyword{environment}
38
\keyword{environment}
39
\keyword{utilities}
39
\keyword{utilities}