[R] Problem with get.hist.quote (tseries library)....

Patrick Hausmann patrick.hausmann at uni-bremen.de
Thu Jun 6 22:03:59 CEST 2002


At 21:48 - 6 Jun 2002, Peter Dalgaard BSA <p.dalgaard at biostat.ku.dk> wrote:

> "Patrick Hausmann" <patrick.hausmann at uni-bremen.de> writes:
> 
> > At 16:36 - 6 Jun 2002, Carlos Ortega wrote:
> > 
> > > I am having a problem with the get.hist.quote command (tseries library) in
> > > the Windows version.
> > 
> > I am having a similar problem:
> > 
> > ++++++++++++++ ERROR MESSAGE +++++++++++++++++++
> > > library(tseries)
> > > x <- get.hist.quote(instrument = "ibm", quote = c("Cl", "Vol"))
[...]

> Not happening here. 
> 
> a) is your tseries package up to date?
First lines from ChangeLog:
2002-04-26  Adrian Trapletti <a.trapletti at bluewin.ch>
	* DESCRIPTION (Version): New version is 0.9-0.	

> b) could you show us a few lines of output from
> 
> readLines("http://chart.yahoo.com/table.csv?s=ibm&a=01&b=02&c=1991&d=06&e=05&f=2002&g=d&q=q&y=0&z=ibm&x=.csv")
The first two lines:
[2047] "21-Apr-94,13.60,14.50,13.36,14.44,8758100"      "20-Apr-94,13.17,13.23,12.80,12.92,2207700"     
[2049] "19-Apr-94,13.23,13.30,12.71,13.20,2094000"      "18-Apr-94,13.08,13.39,13.05,13.20,3120000" 
[...]   
The last two lines:
[2881] "4-Jan-91,27.89,27.95,27.67,27.73,1085100"       "3-Jan-91,27.79,28.16,27.76,27.82,1307400"      
[2883] "2-Jan-91,27.92,28.13,27.73,27.73,1037700" 

> I kind of suspect a locale problem when I see similar reports from
> Germany and Spain (or Spanish, extrapolating from Mr. Ortega's name),
> although I don't quite see how it could be relevant here.

Patrick

-------------
Patrick Hausmann
Friedrich-Wilhelm Str. 37 - D-28199 Bremen
Tel. +49 421 5980631 - Fax. +49 421 5980632
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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