[R] Help with 'get.hist.quote' on tseries

Adrian Trapletti a.trapletti at bluewin.ch
Mon Oct 29 09:47:04 CET 2001


> Date: Mon, 29 Oct 2001 09:36:43 +0700
> From: "Dr. Andrew Criswell" <mousie at arcriswell.com>
> Subject: [R] Help with 'get.hist.quote' on tseries
>
> Hi ALL:
>
> I am trying to use get.help.quote from library(tseries). I tried
> to run the example from help(get.hist.quote) but R complained. Here
> is the command I used and the response:
>
> ibm <- get.hist.quote(instrument = "ibm", start = "1998-01-01")
> trying URL `http://chart.yahoo.com/table.csv?s=ibm&a=01&b=01&c=1998&d=10&e=28&f=2001&g=d&q=q&y=0&z=ibm&x=.
> csv'
>
> Content type `application/octet-stream' length unknown
> opened URL
> downloaded 45Kb
>
> time series starts 1998-01-02
> time series ends   2001-10-26
> Error in fromchar(x) : character string is not in a standard unambiguous
> format
> >
>
> Can anyone help? (I use R 1.3.1 with Windows 2000.)
>
> Thanks,
> ANDREW
>
> Andrew Criswell, Ph.D.
> Graduate School, Bangkok University
>

Under Suse Linux 7.0 and R 1.3.1 this work fine (tseries 0.8-0). So this is maybe a Windows related problem?

best
Adrian

--
Dr. Adrian Trapletti        Phone:     +41 (0)1 994 56 30
Wildsbergstrasse 31         Fax  :     +41 (0)1 994 56 33
CH-8610 Uster               Email: a.trapletti at bluewin.ch
Switzerland                 WWW  :   trapletti.homeip.net



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list