Hi Noah,

With these settings both will work:

##################################################################################
> sessionInfo()
R version 2.12.0 (2010-10-15)
Platform: i486-pc-linux-gnu (32-bit)

locale:
 [1] LC_CTYPE=en_US.utf8       LC_NUMERIC=C              LC_TIME=en_US.utf8
       LC_COLLATE=en_US.utf8     LC_MONETARY=C
 [6] LC_MESSAGES=en_US.utf8    LC_PAPER=en_US.utf8       LC_NAME=C
      LC_ADDRESS=C              LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=C

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

other attached packages:
[1] quantmod_0.3-14 TTR_0.20-2      xts_0.7-6.2     zoo_1.7-0
Defaults_1.1-1  pomp_0.35-1

loaded via a namespace (and not attached):
[1] deSolve_1.8.1   grid_2.12.0     lattice_0.19-13 mvtnorm_0.9-95
 subplex_1.1-3   tools_2.12.0
##########################################################################

Try the latest xts and quantmod from R-Forge.

Regards,

-Mark-


2010/11/25 Noah Silverman <noah@smartmediacorp.com>

> The error appears when you call the function with the "Exp = NULL" flag
>
> getOptionChain("APPL")  WORKS
> getOptionChain("AAPL", Exp = NULL)  FAILS.
>
>
>
>
> On 11/24/10 9:46 PM, Johnson, Cedrick W. wrote:
>
>> Seems to be working here
>>
>> $`Nov 2010`
>> $`Nov 2010`$calls
>>                    Strike  Last   Chg   Bid   Ask   Vol    OI
>> AAPL101126C00230000    230 79.40  0.00 83.95 85.85    32    95
>> AAPL101126C00240000    240 68.60  0.00 73.50 75.40    17    15
>> AAPL101126C00250000    250 58.30  0.00 63.95 65.35    25    25
>> AAPL101126C00260000    260 47.75  0.00 54.00 55.80    47   120
>> <snip>
>>
>>
>> .. using xts 0.7.5 as well.. Perhaps was an intermittent Y! outage?
>>
>> -c
>>
>> _______________________________________________
>> R-SIG-Finance@stat.math.ethz.ch mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
>> -- Subscriber-posting only. If you want to post, subscribe first.
>> -- Also note that this is not the r-help list where general R questions
>> should go.
>>
>
> _______________________________________________
> R-SIG-Finance@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions
> should go.
>

	[[alternative HTML version deleted]]

