The R Project SVN R

Rev

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

Rev 61132 Rev 61150
Line 90... Line 90...
90
\seealso{
90
\seealso{
91
  \code{\link{print}}, \code{\link{format}}, and \code{\link{paste}}
91
  \code{\link{print}}, \code{\link{format}}, and \code{\link{paste}}
92
  which concatenates into a string.
92
  which concatenates into a string.
93
}
93
}
94
\examples{
94
\examples{
95
iter <- stats::rpois(1, lambda=10)
95
iter <- stats::rpois(1, lambda = 10)
96
## print an informative message
96
## print an informative message
97
cat("iteration = ", iter <- iter + 1, "\n")
97
cat("iteration = ", iter <- iter + 1, "\n")
98
 
98
 
99
## 'fill' and label lines:
99
## 'fill' and label lines:
100
cat(paste(letters, 100* 1:26), fill = TRUE,
100
cat(paste(letters, 100* 1:26), fill = TRUE, labels = paste0("{", 1:10, "}:"))
101
    labels = paste("{",1:10,"}:",sep=""))
-
 
102
}
101
}
103
\keyword{print}
102
\keyword{print}
104
\keyword{file}
103
\keyword{file}
105
\keyword{connection}
104
\keyword{connection}