Skip to content
Prev 168616 / 398502 Next

tab characters

Hi all,

Working at the R command line, how do I get strings to display e.g. tab 
or newline characters as they should be displayed, rather than as e.g. 
\n or \t?

e.g.:
 > x="\t"
 > x="\t"
 > x
[1] "\t"
 > print(x)
[1] "\t"