Rcode2office | R Documentation |
Make R code slide
Rcode2office( code, preprocessing = "", title = "", type = "pptx", target = "Report", append = FALSE )
code |
A character string encoding R codes |
preprocessing |
A character string of R code as a preprocessing |
title |
A character |
type |
desired format. choices are "pptx" or "docx" |
target |
name of output file |
append |
logical |
## Not run: code="summary(lm(mpg~hp+wt,data=mtcars))" Rcode2office(code=code) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.