[R] Quantmod error
Cedrick Johnson
cedrick at cedrickjohnson.com
Wed Jan 20 15:38:40 CET 2010
Can you ping the host 'finance.google.com' ??
The error msg is right there, "Unable to Resolve"
-c
I just tried it now:
> getSymbols("GOOG", src="google")
[1] "GOOG"
> head(GOOG)
GOOG.Open GOOG.High GOOG.Low GOOG.Close GOOG.Volume
2007-01-03 466.00 476.66 461.11 467.59 7527500
2007-01-04 469.00 483.95 468.35 483.26 7787700
2007-01-05 482.50 487.50 478.11 487.19 6769400
Jose Narillos de Santos wrote:
> Hi all I have installed quantmod package but when I try to obtain GOOG data
> appers this message: Can anyone inform why itappears?
>
> I type getSymbols("GOOG",src="google")
> Thanks and Best Regards for all
>
> Error en download.file(paste(google.URL, "q=", Symbols.name, "&startdate=",
> :
> no fue posible abrir la URL '
> http://finance.google.com/finance/historical?q=GOOG&startdate=Jan+01,+2007&enddate=Jan+20,+2010&output=csv
> '
> In download.file(paste(google.URL, "q=", Symbols.name, "&startdate=", :
> unable to resolve 'finance.google.com'
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
>
More information about the R-help
mailing list