Description Usage Arguments Value Author(s)
Open a file in the operating system, using it's default program.
sys_open
should work on Ubuntu (and other Linux variants), OSX and
Windows.
1 | sys_open(f)
|
f |
The path of the file to open |
Nothing. Used for it's side effect.
Copied directory from Brendan Rocks' personal package,
devtools::install("brendan-r/brocks")
. His citations follow:
Based very heavily on the function openFileInOS
from the
package pander
(v0.5.2), written by Gergely Daroczi
(daroczig@rapporter.net), itself based on the convert
function in the package ascii
, written by David Hajage
(dhajage@gmail.com).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.