R/utils.R
open_file.Rd
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)
File path.
NB: Function is a small wrapper around utils::browseURL() to have a more suitable function name.
utils::browseURL()
x <- read_pptx() x <- add_slide(x, "Title Slide", ctrTitle = "My Title") file <- print(x, tempfile(fileext = ".pptx")) if (FALSE) { # \dontrun{ open_file(file)} # }