Re: [R] Downloading currency data from from Yahoo

2009-09-24 Thread Tony Plate
you simply had the wrong symbol. a search on yahoo.com suggests the symbol might be "GBP=x", getSymbols('GBP=x',src='yahoo') str(get("GBP=X")) An ‘xts’ object from 2007-01-03 to 2009-09-23 containing: Data: num [1:707, 1:6] 0.51 0.51 0.52 0.52 0.52 0.52 0.51 0.51 0.51 0.51 ... - attr(*, "dim

[R] Downloading currency data from from Yahoo

2009-09-24 Thread Bogaso
Hi, I wanted to download some currency data using "quantmod" package, however got following error : > getSymbols('USD/GBP',src='yahoo') Error in download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m, : cannot open URL 'http://chart.yahoo.com/table.csv?s=USD/GBP&a=0&b=01&c=2007&d=8