Dear all,
thank you very much for continuing to look into this issue!
I checked the versions and in Gabor's code the spaces and tabs, but
still the problem remains (see code and error below).
To install quantmod, I used this time Rforge and it did not work. I
had to install the "Defaults" package from cran first by hand (ie not
like zoo and xts where it recognizes the dependence). And to get the
most recent version of the package I had to upgrade R as well (my
mistake of course). The link mentioned by Jeff points to 0.3.4, but I
got by the command
install.packages("quantmod",repos="http://R-Forge.R-project.org") the
version 0.3.3 as you see below.
Fehler in UseMethod("as.xts") : keine anwendbare Methode f?r "as.xts"
sessionInfo()
R version 2.6.2 (2008-02-08)
i386-pc-mingw32
locale:
LC_COLLATE=German_Austria.1252;LC_CTYPE=German_Austria.1252;LC_MONETARY=German_Austria.1252;LC_NUMERIC=C;LC_TIME=German_Austria.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] quantmod_0.3-3 Defaults_1.1-1 xts_0.0-11 zoo_1.4-2
loaded via a namespace (and not attached):
[1] grid_2.6.2 lattice_0.17-4 tools_2.6.2
Anyway, after the upgarde and Jeff's hint to use the chartSeries
function it works. Now I still have to play around to make the labels
look nice...
Thanks a lot for all your help,
Thomas