pillar icon indicating copy to clipboard operation
pillar copied to clipboard

Escape sequences and abbreviations in character data

Open krlmlr opened this issue 3 years ago • 0 comments

pillar::pillar(" 1234567890 ", width = 8)
#> <pillar>
#> <chr>   
#> " 12345…
pillar::pillar(" 1234\n", width = 8)
#> <pillar>
#> <chr>   
#> " 1234\…

Created on 2022-06-30 by the reprex package (v2.0.1)

Also, it's worth highlighting escape sequences in red.

Extract from #235.

krlmlr avatar Jun 30 '22 02:06 krlmlr