[R] quantmod getOptionChain Not Work

Sparks, John James jspark4 at uic.edu
Sun Mar 4 20:18:06 CET 2012


Dear R Helpers,

I am still having trouble with the getOptionChain command in quantmod.  I
have the latest version of quantmod, etc. so I was under the impression
that the problem was solved with updates to the package.

If someone could let me know what I need to install in order to make this
work, I would really appreciate it.

My error message as session info are shown below.  Thanks a bunch.
--John Sparks

R version 2.14.2 (2012-02-29)
Platform: i386-pc-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United
States.1252    LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] pomp_0.40-2      deSolve_1.10-3   subplex_1.1-3    mvtnorm_0.9-9992
quantmod_0.3-17  TTR_0.21-0       xts_0.8-2        zoo_1.7-7       
Defaults_1.1-1

loaded via a namespace (and not attached):
[1] grid_2.14.2    lattice_0.20-0 tools_2.14.2
> AAPL.OPT<-getOptionChain("AAPL")
Error in puts[, 2] : incorrect number of dimensions
> AAPL.OPT<-getOptionChain("AAPL",NULL)
Error in puts[, 2] : incorrect number of dimensions
>



More information about the R-help mailing list