Input and Output Formats

Formatting is controlled using escape sequences, typically within double quotes:

\n newline
\r carriage return
\t tab character
\b backspace
\a bell
\f form feed
\v vertical tab

Get The R Book now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.