powered by
img
image_uri(f)
uri = image_uri(file.path(R.home("doc"), "html", "logo.jpg")) cat(sprintf("<img src="%s" />", uri), file = "logo.html") if (interactive()) browseURL("logo.html") # you can check its HTML source
Run the code above in your browser using DataLab