The R Project SVN R

Rev

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

Rev 27541 Rev 27733
Line 50... Line 50...
50
  \code{\link{ifelse}}, \code{\link{switch}}.
50
  \code{\link{ifelse}}, \code{\link{switch}}.
51
}
51
}
52
\examples{
52
\examples{
53
for(i in 1:5) print(1:i)
53
for(i in 1:5) print(1:i)
54
for(n in c(2,5,10,20,50)) {
54
for(n in c(2,5,10,20,50)) {
55
   x <- stats::rnorm(n)
55
   x <- rnorm(n)
56
   cat(n,":", sum(x^2),"\n")
56
   cat(n,":", sum(x^2),"\n")
57
}
57
}
58
}
58
}
59
\keyword{programming}
59
\keyword{programming}
60
\keyword{iteration}
60
\keyword{iteration}