open_file | R Documentation |
Opening a file locally requires a compatible application to be installed (e.g., MS Office or LibreOffice for .pptx or .docx files).
open_file(path)
path |
File path. |
NB: Function is a small wrapper around utils::browseURL()
to have a more
suitable function name.
x <- read_pptx()
x <- add_slide(x, "Title Slide", ctrTitle = "My Title")
file <- print(x, tempfile(fileext = ".pptx"))
## Not run:
open_file(file)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.