[R] R convert pdf/png to html

Boris Steipe boris.steipe at utoronto.ca
Wed Jun 3 18:08:49 CEST 2015


... as in: the png exists in a directory that is accessible to the server?

That would be as simple as creating a HTML document with the following contents:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
  <head><title="Image"></head>
  <body><img src="myPNGimage.png"></body>
</html>


B.


On Jun 3, 2015, at 11:32 AM, valerio orfano <ingorfano at hotmail.com> wrote:

> Hi All
> 
> Is there any chance in R to convert a png and/or pdf file into an html?
> Any example?
> 
> I’ve tried htmlize but doesn’t work out!
> 
> Rgds valerio
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.



More information about the R-help mailing list