| drop_media {rdrop2} | R Documentation |
Similar to drop_shared. The difference is that this bypasses the
Dropbox webserver, used to provide a preview of the file, so that you can
effectively stream the contents of your media. This URL should not be used to
display content directly in the browser. IMPORTANT: The media link will expire
after 4 hours. So you'll need to cache the content with knitr cache OR re-run
the function call after expiry.
drop_media(path = NULL, dtoken = get_dropbox_token())
path |
This is required The path to the new folder to create relative to root. |
dtoken |
The Dropbox token generated by |
## Not run:
drop_media('Public/gifs/duck_rabbit.gif')
## End(Not run)