R/writeln.R

Defines functions writeln

Documented in writeln

#' Write a string to STDOUT without the standard '[1]' prefix.
#'
#' @param ... Strings to write to STDOUT
#' @param sep Separator to use between strings. Defaults to a single space
#' @export
#'
#' @examples
#' writeln("Hello, world!")
writeln <- function(..., sep=" ") {
    cat(paste(paste(..., collapse=sep), "\n"))
}
mellesies/vtg documentation built on Sept. 15, 2024, 2:32 a.m.