Description Usage Arguments Details Value Examples
work for both http and local image , for html , the image if path started with http, it will be put at the img tag directly
1 | embed_png(path, dpi = 200)
|
path |
value |
dpi |
value |
otherwise, path should have the "rfigures" in it and the png file should be existed in http://www.bagualu.net/wordpress/rfigures/ it will not copy the files there , so you need to do it manually
for pdf , both http and local img are supported, local image does not need to be on the website
returndes
1 | x=c(1,2,3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.