You can use backslash to avoid other non-printable characters:
print("\245")
displays the yen symbol ( ¥ ) on my gui. 245 is in octal format, so the above expression prints ASCII (or some kind of encoding graphical interface) character 165.
219 is 333 in octal, but
print("\333")
displays the Û character on my gui.
R gui also supports several (but by no means all) Unicode characters:
cyrillic_d <- "\u0414" print(cyrillic_d)
displays D.
source share