[R] Downloading a csv from Dropbox using the shareable link

From: Bryan Hanson <hanson_at_depauw.edu>
Date: Fri, 20 May 2011 14:05:25 -0400

Hello Kindred R Spirits...

I'm trying to get a file (csv) from Dropbox using their shareable link concept. They issue a short URL that goes to a web page where you see a button that says "Download File". They don't really give you the URL of the file itself, just this page. Is there a way to coax R into getting such a file? I don't even really want the file per se, I just want a path to the file so I can reference it for Sweave purposes and read the contents into an object. Seems like a job for RCurl but I have little experience and this seems like an odd case anyway.

By the way, I want to do this as a way to have several people on different computers run a .Rnw file that needs to access common data set w/o changing the path to the file each time a different person opens the file and works on it. Perhaps there is another way of doing this.

Thanks for any suggestions. Bryan

Prof. Bryan Hanson
Dept of Chemistry & Biochemistry
DePauw University
Greencastle IN 46135 USA

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 20 May 2011 - 18:08:26 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 23 May 2011 - 17:10:08 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive