[R] is there a Decode HTML function somewhere (similar to URLdecode)?

From: Tony B <tony.breyal_at_googlemail.com>
Date: Wed, 23 Jun 2010 04:32:47 -0700 (PDT)

Dear all,

I am aware of the URLdecode(..) function and was wondering if there was something similar for HTML?

For example, I would like to convert strings like this:

> x <- "isn&apos;t"

into this:

> "isn't"

Many thanks for your time,
Tony Breyal

# O/S: Windows Vista 32 bit
# R version 2.11.0 (2010-04-22)

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 23 Jun 2010 - 20:47:55 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 24 Jun 2010 - 13:20:35 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive