image2docx | R Documentation |
Save plot/ggplot to Microsoft Word format
image2docx(...)
... |
further arguments to be passed to image2office |
## Not run: require(ggplot2) x<-ggplot(iris,aes(x=Sepal.Length))+geom_histogram() image2docx(x) image2docx(x="plot(iris)",title="A ggplot",append=TRUE) p2="ggplot(iris,aes(x=Sepal.Length,y=Sepal.Width))+geom_point()" image2docx(p2,append=TRUE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.