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

2011-05-23 Thread Bryan Hanson
Thanks Ian, not too late at all. I need to do some testing but your idea seems like it should work. Thanks, Bryan On May 23, 2011, at 12:44 PM, Ian Gow wrote: This might be a little late, but one option for this issue might be to add a line like Sys.setenv("DROPBOX_PATH" = "/Users/Person

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

2011-05-23 Thread Ian Gow
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("D

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

2011-05-21 Thread Timothy Bates
> Person A is working on the file on their computer the path to the data would > be (Mac OSX) /Users/PersonA/Dropbox/Project/data.csv However, to Person B > the path would be /Users/PersonB/Dropbox/data.csv I'm looking for a way to > keep the path to data.csv universal and independent of who i

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

2011-05-20 Thread Bryan Hanson
Hi Patrick, here is the set up: Everyone is already sharing all the files and has full access. We have an Rnw file which generates a report and uses a csv file in a "nearby" directory. Dropbox keeps it all sync'd. But, if Person A is working on the file on their computer the path to the

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

2011-05-20 Thread Patrick Connolly
On Fri, 20-May-2011 at 02:05PM -0400, Bryan Hanson wrote: > 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 giv

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

2011-05-20 Thread Timothy Bates
The problem is that dropbox sharable links unpack to https URIs, and R doesn't support secture http (at least not on Mac, not sure about other platforms). Would be great to compile the read.table etc. functions to use curl when it is installed, as curl supports a myriad of protocols. Rcurl pac