Learn R Programming

rdrop2 (version 0.6)

drop_read_csv: drop_read_csv

Description

A lightweight wrapper around read.csv to read csv files from Dropbox into memory

Usage

drop_read_csv(file, dest = tempdir(), ...)

Arguments

file
Name of file with full path relative to Dropbox root
dest
A temporary directory where a csv file is downloaded before being read into memory
...
Additional arguments into read.csv

Examples

Run this code
write.csv(iris, file = "iris.csv")
drop_upload("iris.csv")
# Now let's read this back into an R session
new_iris <- drop_read_csv("iris.csv")

Run the code above in your browser using DataLab