I don't know how Henrique did it, but in Firefox one can go to the Downloads panel and right click on the downloaded file and choose "Copy Download link" (or something similar) and get:

https://6326258883408400442-a-1802744773732722657-s-sites.googlegroups.com/site/jrkrideau/home/general-stores/duplicates.csv?attachauth=ANoY7cpNemjCFz14tAP3IPYCsAnvo-JJbgPNnPEWN_evBHG2jEYaNFOIT6GZF4M3VuKzioPZwvX7QSvMDWfJ3pHac5JK5BHyflOGBLOo_v44C0oU2V6teTwnjeg4TFufeltT-i5T3ThkuyesCztr6g2yLl65YcckwlEGEDtS-L9yzVe1B6tFEu2n6sjAOV9EHokEFx8e-HDFyf-u5mVIGMPgCHvaQL8pupVz-1p1rEdPpS0f6pqApTc%3D&attredirects=0

--
David.

On Jan 7, 2011, at 1:35 PM, John Kane wrote:

Great, but how did you do that?

--- On Fri, 1/7/11, Henrique Dallazuanna <www...@gmail.com> wrote:

From: Henrique Dallazuanna <www...@gmail.com>
Subject: Re: [R] Accessing data via url
To: "John Kane" <jrkrid...@yahoo.ca>
Cc: r-help@r-project.org, "Dieter Menne" <dieter.me...@menne- biomed.de>
Received: Friday, January 7, 2011, 1:31 PM

Google redirect to:

https://6326258883408400442-a-1802744773732722657-s-sites.googlegroups.com/site/jrkrideau/home/general-stores/duplicates.csv?attachauth=ANoY7crKufJCh6WJtrooAoCEKIYzT9u-TObiYElZaXj2XQhKRI9-oEMyKH3VN8YGuNtMHs2ec2qKeF0YBWrpSd9jTIs2JI4e6aR60v_AirgtSahjNNjoReLiE2XPZrhm4SF_NwCTu9rBwmirss8EP3UKkoAQ8Nm7JW_Sa6C3Jp-kcbSeo-kl4bCXrZ9yMfS_Ex9maq84-ON6GiGuuHbvtNxuF4HLY3UK7HIjupG3fQYzO9p3UkkTH1c%3D&attredirects=0




On Fri, Jan 7, 2011 at 4:29 PM, John Kane <jrkrid...@yahoo.ca> wrote:


Well it seems to mean that the file has moved. It , to my untrained eye, seems to be in the same sport as it was yesterday BTW I am now talking about


dd <- "https://sites.google.com/site/jrkrideau/home/general-stores/duplicates.csv "

Would this indicate it's physically moving on googe servers?



I had not realised there was something like rawToChar(). Amazing what R does.

Thank ,

--- On Fri, 1/7/11, Henrique Dallazuanna <www...@gmail.com> wrote:



From: Henrique Dallazuanna <www...@gmail.com>


Subject: Re: [R] Accessing data via url
To: "John Kane" <jrkrid...@yahoo.ca>
Cc: r-help@r-project.org, "Dieter Menne" <dieter.me...@menne- biomed.de>


Received: Friday, January 7,
2011, 1:21 PM

Take a look on the return of:

 rawToChar(x)

On Fri, Jan 7, 2011 at 4:13 PM, John Kane <jrkrid...@yahoo.ca> wrote:








--- On Fri, 1/7/11, Dieter Menne <dieter.me...@menne-biomed.de> wrote:



From: Dieter Menne <dieter.me...@menne-biomed.de>



Your original file is no longer there, but when I try RCurl

with a png file

that is present, I get a certificate error:



Dieter



Since replaced with

dd <- "https://sites.google.com/site/jrkrideau/home/general-stores/duplicates.csv "





library(RCurl)

dd <- "https://sites.google.com/site/jrkrideau/home/general-stores/duplicates.csv "

x = getBinaryURL(dd, ssl.verifypeer = FALSE)



seems to be downloading a binary file.



Thanks



______________________________________________

R-help@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.




--
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O





--
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O




        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

David Winsemius, MD
West Hartford, CT

______________________________________________
R-help@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.

Reply via email to