Re: [R] QuantMod and XML

2015-11-07 Thread Dirk Eddelbuettel
On 7 November 2015 at 19:37, Robert Sherry wrote: | Warning message: package ‘XML’ is not available (for R version 3.1.2) That is your problem. You are running R 3.1.2. That is old and outdated. CRAN has packages -- which may on occassion impose a '>=' relation. That is the case here. Yo

Re: [R] QuantMod and XML

2015-11-07 Thread Robert Sherry
Thanks for the response. I am currently using Windows 7. I tried the following command: install.packages("XML", repos = "http://www.omegahat.org/R";) and I got: Installing package into ‘C:/Users/Bob/Documents/R/win-library/3.1’ (as ‘lib’ is unspecified) Warning: unable to acces

Re: [R] QuantMod and XML

2015-11-07 Thread Hasan Diwan
Bob, On 7 November 2015 at 15:27, Robert Sherry wrote: > > I am trying to use the package quantmod to get option quotes in R. > Therefore, I executed the following two commands: > library ("quantmod" ) > getOptionChain("AAPL") > The first one worked but the second one produced th

[R] QuantMod and XML

2015-11-07 Thread Robert Sherry
I am trying to use the package quantmod to get option quotes in R. Therefore, I executed the following two commands: library ("quantmod" ) getOptionChain("AAPL") The first one worked but the second one produced the following error message: Error in getOptionChain.yahoo