ot;, "â", "ã", "ä", "å", "æ", "ç", "è", "é", "ê", "ë", "ì", "í",
"î", "ï", "ð", "ñ", "ò", "ó", "ô", "õ"
"û", "ü", "ý", "þ"), Name = c(""",
"'", "&", "<", ">", " ", "¡", "¢",
"£", "¤", "¥", "¦", "§", "¨",
4352
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Michael Friendly
Sent: Friday, August 10, 2012 11:15 AM
To: R-help
Subject: [R] translating HTML character entities to accented characters
I've imported a .csv file wher
versity
College Station, TX 77843-4352
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
> project.org] On Behalf Of Michael Friendly
> Sent: Friday, August 10, 2012 11:15 AM
> To: R-help
> Subject: [R] translating HTML character entities
I've imported a .csv file where character strings that contained
accented characters were written as HTML
character entities. Is there a function that works on a vector to
translate them back to accented (latin1) characters?
Some examples:
> grep("&", author$lname, value=TRUE)
[1] "Frère de M
5 matches
Mail list logo