[R] Printing left-justified character strings

zListserv zli@t@erv @ending from gm@il@com
Tue Jun 5 16:24:04 CEST 2018

Many (most?) R functions print character strings and factor labels right-justified.

print accepts right=FALSE to print character strings left-justified, but neither head nor tail seem to do so, and even print is a little inconsistent depending on whether it's done while knitting.

Is there a way to set left-justification globally so every routine will print character strings left-justified?

More information about the R-help mailing list