file.open | R Documentation |
Opens a file or URL in the user's preferred application.
file.open(file)
file |
file or URL to be opened. |
file
may be any number of files or URLs. Files will be normalized
before opening, though they should already be full paths.
On macOS, files and URLs will be open using open
, and under any other
Unix-alike, files and URLs will be open using xdg-open
.
file
invisibly.
## Not run:
file.open(tempdir())
file.open("https://cran.r-project.org/doc/manuals/R-exts.html#Documenting-packages")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.