Examples for 'tools::showNonASCII'


Pick Out Non-ASCII Characters

Aliases: showNonASCII showNonASCIIfile

Keywords: utilities

### ** Examples

out <- c(
"fa\xE7ile test of showNonASCII():",
"\\details{",
"   This is a good line",
"   This has an \xfcmlaut in it.",
"   OK again.",
"}")
f <- tempfile()
cat(out, file = f, sep = "\n")

showNonASCIIfile(f)
1: fa<e7>ile test of showNonASCII():
4:    This has an <fc>mlaut in it.
unlink(f)

[Package tools version 4.2.3 Index]