Dear R-helpers,

I am trying to use getSymbols to download INR/USD data from yahoo or google
finance. In each case I 1st list the website and then the R error which I
get on trying to download the symbol. Could someone please tell me where I
am wrong?

http://www.google.com/finance?q=inrusd

> getSymbols("inrusd",src="google")
Error in download.file(paste(google.URL, "q=", Symbols.name, "&startdate=",
:
  cannot open URL '
http://finance.google.com/finance/historical?q=inrusd&startdate=Jan+01,+2007&enddate=Sep+22,+2011&output=csv
'
In addition: Warning message:
In download.file(paste(google.URL, "q=", Symbols.name, "&startdate=",  :
  cannot open: HTTP status was '400 Bad Request'

http://in.finance.yahoo.com/q?s=USDINR%3DX&ql=1

> getSymbols("USDINR=X",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=USDINR=X&a=0&b=01&c=2007&d=8&e=22&f=2011&g=d&q=q&y=0&z=USDINR=X&x=.csv
'
In addition: Warning message:
In download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m,  :
  unable to resolve 'chart.yahoo.com'

Best Regards,
Ashim

	[[alternative HTML version deleted]]

