[R-SIG-Finance] quantmod::getOptionChain() errors

rex rex at nosyntax.net
Wed Oct 10 23:37:21 CEST 2012


getOptionChain("F")
Error in puts[, 2] : incorrect number of dimensions
getOptionChain("MNT")
Error in strsplit(opt, "<tr")[[1]] : subscript out of bounds

> sessionInfo()
R version 2.15.1 (2012-06-22)
Platform: x86_64-pc-linux-gnu (64-bit)

locale:
  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
  [7] LC_PAPER=C                 LC_NAME=C                 
  [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

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

other attached packages:
[1] plyr_1.7.1      XML_3.9-4       RCurl_1.95-0.1  bitops_1.0-4.1 
[5] quantmod_0.3-20 TTR_0.21-1      xts_0.8-6       zoo_1.7-7      
[9] Defaults_1.1-1 

loaded via a namespace (and not attached):
[1] grid_2.15.1    lattice_0.20-6 tcltk_2.15.1   tools_2.15.1  

-rex



More information about the R-SIG-Finance mailing list