Consider the string "Hello \\n World!". It appears that the relevant methods for formatting and printing it are print.default, cat<
"Hello \\n World!"
print.default
cat<