[R] Yahoo data downloading problem

Bogaso bogaso.christofer at gmail.com
Sat Feb 7 10:43:01 CET 2009


Hi,

I got some problems while was trying to download data from Yahoo using
yahoo.get.hist.quote() function. My script is as follows :

app <- yahoo.get.hist.quote("aapl", start="02/07/09", end="02/07/06",
quote="close")

However I got following error :

trying URL
'http://chart.yahoo.com/table.csv?s=aapl&a=6&b=09&c=0002&d=6&e=06&f=0002&g=d&q=q&y=0&z=aapl&x=.csv'
Error in download.file(url, destfile) : 
  cannot open URL
'http://chart.yahoo.com/table.csv?s=aapl&a=6&b=09&c=0002&d=6&e=06&f=0002&g=d&q=q&y=0&z=aapl&x=.csv'
In addition: Warning message:
In download.file(url, destfile) :
  cannot open: HTTP status was '404 Not Found'

I got a similar thread in
http://tolstoy.newcastle.edu.au/R/help/06/08/33770.html however, I could not
figure out exactly what to do. Can anybody please help me?

Regards,
-- 
View this message in context: http://www.nabble.com/Yahoo-data-downloading-problem-tp21886591p21886591.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list