powered by
Add plot into a document object
add_plot(mydoc, plotstring, top = 2)
A document object
String of an R code encoding a plot
top position of plot
a document object
# NOT RUN { require(rrtable) require(officer) require(rvg) require(magrittr) read_pptx() %>% add_text(title="Plot") %>% add_plot("plot(iris)") # }
Run the code above in your browser using DataLab