From Kurt.Hornik@ci.tuwien.ac.at  Thu Oct  4 17:23:24 2001
From: Kurt.Hornik@ci.tuwien.ac.at (Kurt Hornik)
Date: Thu, 4 Oct 2001 18:23:24 +0200
Subject: [Rd] get.hist.quote does not work (PR#1116)
In-Reply-To: <200110041245.OAA18643@pubhealth.ku.dk>
References: <200110041245.OAA18643@pubhealth.ku.dk>
Message-ID: <15292.36092.160657.354210@mithrandir.hornik.net>

>>>>> arto luoma writes:

> Full_Name: Arto Luoma
> Version: 1.3.1
> OS: Windows 98
> Submission from: (NULL) (153.1.53.119)

> Hi!

> The function get.hist.quote in the package tseries (Version 0.7-6)
> does not work in my computer.  I found that it uses the function
> strptime which did not "understand" English month names in my Finnish
> locale (see bug report 811). I changed the regional settings to be
> English (UK) and strptime started to work as I liked. However,
> get.hist.quote does not work yet, since the function julian does not
> work. Is this problem only in my computer? The previous version of
> get.hist.quote (tseries 0.7-0) did work.

> Sys.time and julian produce

>> Sys.time()
> [1] "2001-10-04 15:33:14 GTB Daylight Time"
>> julian(Sys.time())
> Error in fromchar(x) : character string is not in a standard unambiguous format
>> 

> get.hist.quote produces
 
>  x <- get.hist.quote(instrument = "^spc", start = "1998-01-01",
> +                     quote = "Close")
> trying URL `http://chart.yahoo.com/table.csv?s=^spc&a=01&b=01&c=1998&d=10&e=03&f=2001&g=d&q=q&y=0&z=^spc&x=.csv'
> Content type `application/octet-stream' length unknown
> opened URL
> downloaded 38Kb

> time series starts 1998-01-02
> Error in fromchar(x) : character string is not in a standard unambiguous format

I am confused by the subject: above you indicate that get.hist.quote
does not work because julian does not work.

What precisely are your locale settings?

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] get.hist.quote does not work (PR#1116)
Kurt Hornik