On Mon, Dec 15, 2014 at 12:33 AM, Spencer Graves
wrote:
> Hello, All:
>
>
> What do people do to strip accents from latin characters, returning
> vanilla ASCII?
I find the stringi package works well for this sort of thing, e.g.,
library(stringi)
x <- c("!", "\"", "#", "$", "%", "&", "
On 15/12/2014 05:33, Spencer Graves wrote:
Hello, All:
What do people do to strip accents from latin characters, returning
vanilla ASCII?
I think the devil is the detail here: what is Latin? Latin-1 has
characters for which this is unclear, let alone Latin-2 or Latin-7.
What I
Hello, All:
What do people do to strip accents from latin characters, returning
vanilla ASCII?
For example, I want to convert ‘Raúl’ to “Raul”. Milan (below)
suggested 'iconv(x, “", "ASCII//TRANSLIT”)’. This worked under Windows but
failed on Linux and Mac. It’s p
Wonderful. Thanks very much. Spencer
On 11/30/2014 2:25 AM, Milan Bouchet-Valat wrote:
Le dimanche 30 novembre 2014 à 02:14 -0800, Spencer Graves a écrit :
Hello:
How can one convert Latin characters with to the corresponding
characters without? For example, I want to convert "ú"
Le dimanche 30 novembre 2014 à 02:14 -0800, Spencer Graves a écrit :
> Hello:
>
>
>How can one convert Latin characters with to the corresponding
> characters without? For example, I want to convert "ú" to "u", similar
> to how tolower('U') returns "u".
>
>
>This can be done
Hello:
How can one convert Latin characters with to the corresponding
characters without? For example, I want to convert "ú" to "u", similar
to how tolower('U') returns "u".
This can be done using chartr{base}, e.g., chartr('ú', 'u',
'Raúl') returns "Raul". However, I wondere
6 matches
Mail list logo