Skip to content
Prev 260644 / 398502 Next

Downloading a csv from Dropbox using the shareable link

This might be a little late, but one option for this issue might be to add
a line like 
 Sys.setenv("DROPBOX_PATH" = "/Users/PersonA/Dropbox/")
to Person A's .Rprofile (on my Mac, this is in my home directory) and the
equivalent (mutatis mutandis) to Person B's .Rprofile and then use
 Sys.getenv("DROPBOX_PATH")
to access the path. It seems from looking at forums for Dropbox that there
is no easily accessed environment variable that Dropbox sets for the path
to the Dropbox folder.