[go: up one dir, main page]

File: scat.Rd

package info (click to toggle)
r-cran-futile.logger 1.4.3-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 208 kB
  • sloc: sh: 9; makefile: 2
file content (34 lines) | stat: -rw-r--r-- 708 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scat.R
\name{scat}
\alias{scat}
\title{Print formatted messages}
\usage{
scat(format, ..., use.newline = TRUE)
}
\arguments{
\item{format}{A format string passed to sprintf}

\item{use.newline}{Whether to append a new line at the end}

\item{\dots}{Arguments to pass to sprintf for dereferencing}
}
\value{
A formatted string printed to the console
}
\description{
A replacement for \code{cat} that has built-in sprintf formatting
}
\details{
Like \code{cat} but you can use format strings.
}
\examples{

  apply(array(2:5),1, function(x) scat('This has happened \%s times', x) )

}
\author{
Brian Lee Yung Rowe
}
\keyword{data}