Learn R Programming

rdrop2 (version 0.7.0)

drop_create: Creates a folder on Dropbox

Description

Returns a list containing the following fields: "size", "rev", "thumb_exists", "bytes", "modified", "path", "is_dir", "icon", "root", "revision"

Usage

drop_create(path = NULL, root = "auto", verbose = FALSE, dtoken = get_dropbox_token())

Arguments

path
This is required The path to the new folder to create relative to root.
root
This is required. The root relative to which path is specified. Valid values are auto (recommended and also the default), sandbox, and dropbox.
verbose
By default verbose output is FALSE. Set to TRUE if you need to troubleshoot any output or grab additional parameters.
dtoken
The Dropbox token generated by drop_auth. rdrop2 will try to automatically locate your local credential cache and use them. However, if the credentials are not found, the function will initiate a new authentication request. You can override this by pointing to a different location where your credentials are stored.

Examples

Run this code
## Not run: 
# drop_create(path = "foobar")
# ## End(Not run)

Run the code above in your browser using DataLab