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

Carlos Ortega carlos.ortega at minorplanet.com
Thu Jun 6 16:36:11 CEST 2002


Hello,

I am having a problem with the get.hist.quote command (tseries library) in
the Windows version.
This problem is not happening is the Linux version (Mandrake 8.2).

Attached is the error message, for an example included in the help file.
Also the R.Version() details is attached.

Please, do you know if there is a workaround ?

Thanks,
Carlos.


++++++++++++++++++++++++ ERROR MESSAGE +++++++++++++++++++++
> library(tseries)
>  x <- get.hist.quote(instrument = "ibm", quote = c("Cl", "Vol"))
trying URL
`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'
Content type `application/octet-stream' length unknown
opened URL
downloaded 119Kb

Error in if (dat[n] != start) cat(format(dat[n], "time series starts
%Y-%m-%d\n")) :
        missing value where logical needed
++++++++++++++++++++++++++++++++++++++++++++++++++++++++

+++++++++++++++++++++++ R VERSION ++++++++++++++++++++++++
R.Version()
$platform
[1] "i386-pc-mingw32"

$arch
[1] "i386"

$os
[1] "mingw32"

$system
[1] "i386, mingw32"

$status
[1] "Patched"

$major
[1] "1"

$minor
[1] "5.0"

$year
[1] "2002"

$month
[1] "06"

$day
[1] "05"

$language
[1] "R"
++++++++++++++++++++++++++++++++++++


_____
The information in this email is confidential and it may not be
disclosed or used by anyone other than the addressee. If you are not the
intended recipient, any disclosure, copying, distribution or any action taken or
omitted is prohibited and may be unlawful.
Minorplanet cannot accept responsibility for the accuracy or completeness of
this email as it has been transmitted over a public network. If you suspect
that the email may have been amended, please call the sender.


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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