Learn R Programming

behaviorchange (version 0.5.5)

cat0: Concatenate to screen without spaces

Description

The cat0 function is to cat what paste0 is to paste; it simply makes concatenating many strings without a separator easier.

Usage

cat0(..., sep = "")

Value

Nothing (invisible NULL, like cat).

Arguments

...

The character vector(s) to print; passed to cat.

sep

The separator to pass to cat, of course, "" by default.

Examples

Run this code
cat0("The first variable is '", names(mtcars)[1], "'.");

Run the code above in your browser using DataLab