Learn R Programming

rDrop (version 0.3-0)

dropbox_get: Downloads a file from your Dropbox

Description

Currently the function does not provide much support other than retrieving the contents of whatever Dropbox file you specify. Use TextConnection to process ascii files for the time being.

Usage

dropbox_get(cred, file_to_get, curl = getCurlHandle(),
    ..., binary = NA)

Arguments

cred

Specifies an object of class DropboxCredentials with Dropobox specific credentials.

file_to_get

Specifies the path to the file you want to retrieve. Path must be relative to Dropbox root.

curl

If using in a loop, call getCurlHandle() first and pass the returned value in here (avoids unnecessary footprint).

binary

set if the object you are retrieving is binary.

...

optional additional curl options (debugging tools mostly)..

Value

R object

Examples

Run this code
# NOT RUN {
x <- dropbox_get(db_cred, '/folder/file.csv')
# }

Run the code above in your browser using DataLab