Description Usage Arguments Details Examples
Enable Live View of Dropbox File in Browser
1 |
fp |
A |
To get the "live" aspect of the code view, we opt to:
Switch www.
with dl.
at the beginning of URL to avoid Dropbox Viewer.
Set the shared link to have a "?dl=0"
.
. This forces the file to only show in the browser. For more details please see: How do I force a file or folder to download or render on dropbox.com?
This was inspired by Michael Levy's UseR2016 Talk
(See the part at 7:20)
The file must be located outside of the Public
directory
1 2 3 4 5 | ## Not run:
# Return the file with live streaming enabled
dropbox_live_sharelink("path/to/file.R")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.