R/pp.R

Defines functions pp

Documented in pp

#' Wrapper for paste and print
#'
#' Takes a vector of objects and puts them together in a vector of strings. It's useful to track progress of for loops and to automate output.
#'
#' @param ... A collection of arguments for \code{paste()}.
#'
#' @seealso \code{\link{pft}}, \code{\link{print}}, \code{\link{paste}}
#' @keywords print paste
#'
#' @examples
#' pp(letters[1:10], 11:20)
#' for(i in 1:5){pp("This is the capital letter ", toupper(letters[i]), ".", sep = "")}
#'
#' @rdname pp
#' @export

pp <- function(...) print(paste(...))
Paul-James/pjames documentation built on Aug. 9, 2019, 12:18 p.m.