Browse Source

examples

master
boB Rudis 7 years ago
parent
commit
6cdf88a1f8
No known key found for this signature in database GPG Key ID: 2A514A4997464560
  1. 2
      man/html_to_text.Rd
  2. 3
      man/render_html_to_text.Rd

2
man/html_to_text.Rd

@ -19,7 +19,7 @@ Convert HTML to Text
}
\examples{
fils <- list.files(system.file("extdata", package="jericho"), full.names=TRUE)
for(f in fils) {
for (f in fils) {
d <- readBin(f, "raw", file.size(f))
d <- rawToChar(d)
html_to_text(d)

3
man/render_html_to_text.Rd

@ -18,7 +18,8 @@ the way Mozilla Thunderbird and other email clients provide an automatic convers
of HTML content to text in their alternative MIME encoding of emails.
}
\examples{
for(f in fils) {
fils <- list.files(system.file("extdata", package="jericho"), full.names=TRUE)
for (f in fils) {
d <- readBin(f, "raw", file.size(f))
d <- rawToChar(d)
render_html_to_text(d)

Loading…
Cancel
Save