I think you mean the control characters: there are other unprintable
characters (del for example). They are the character range
[\001-\037]. E.g.
test - intToUtf8(1:40, multiple=TRUE)
grepl([\001-\037], test)
[1] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
[13]
Hi all,
I have a csv file containing words with *UNPRINTABLE ASCII* characters
(described in the following table).
Are there any viable method in eliminating these characters?
I realise that *EXTENDED ASCII* characters (i.e , ¡, ¢, £, ¤ etc) can be
removed or replaced via *gsub* or *gregexpr*
2 matches
Mail list logo