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

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Oct 30 19:38:17 CET 2001

On Wed, 31 Oct 2001, Ko-Kang Wang wrote:

> ----- Original Message -----
> From: "Prof Brian Ripley" <ripley at stats.ox.ac.uk>
> To: "Adrian Trapletti" <a.trapletti at bluewin.ch>
> Cc: "Dr. Andrew Criswell" <mousie at arcriswell.com>; "R-Help"
> <r-help at stat.math.ethz.ch>
> Sent: Wednesday, October 31, 2001 12:56 AM
> Subject: Re: [R] Help with 'get.hist.quote' on tseries
> > > 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?
> >
> > It also works fine on R 1.3.1 with Windows 2000 here.  It might be a
> > locale-specific problem: in any case I think it needs you to debug it,
> > possibly trying setting your machine to a different locale.
> Is the ibm dataset different to ^spc set?  It is strange that ^spc works on
> my Windows ME here but not ibm.

Yes, it's a different dataset.  *You* can debug why one works for you and
the other does not: they both work for me. for me the dat var for the ibm
dataset is

   [1] "29-Oct-01" "26-Oct-01" "25-Oct-01" "24-Oct-01" "23-Oct-01" "22-Oct-01"
[2731] "3-Jan-91"  "2-Jan-91"

It's possible that there is a date in there which your Windows ME is
failing to decode correctly, but you need to debug it to see.

> By locale do you me the windows locale setting (for example mine is Chinese
> Big-5)?

I mean the C language locale setting (not the character set). I am not at
all sure to what extent this is supported on non-English versions of
Windows, especially of Windows 9X (including ME).  The standard calls
exist: it's a question of whether they work correctly.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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