dropbox_live_sharelink: Enable Live View of Dropbox File in Browser

Description Usage Arguments Details Examples

View source: R/dropbox.R

Description

Enable Live View of Dropbox File in Browser

Usage

1

Arguments

fp

A string containing the file path that is within the "Public" folder.

Details

To get the "live" aspect of the code view, we opt to:

. 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

Examples

1
2
3
4
5
## Not run: 
# Return the file with live streaming enabled
dropbox_live_sharelink("path/to/file.R")

## End(Not run)

coatless/dropcli documentation built on May 13, 2019, 8:46 p.m.