Weird problem with latest RQuantLib not working with QuantMod on R 2.13.1
Hi Chandra, A bug in getSymbols yahoo. Patched in rev 568 on R-forge. exists was walking up the enclosing frames until it found a bound variable 'adjust' which in this case came from RQuantlib. I added inherits=FALSE to patch. Thanks for the report (as well as thanks to Dirk for a suggested fix). Best, Jeff
On Tue, Sep 27, 2011 at 10:12 PM, chandra bajpai <cbajpai at gmail.com> wrote:
Hi, I just got a new machine and installed a fresh version of R 2.13.1 (latest version) and I think I found a problem with RQuantLib causing a problem an external module (QuantMod). I've got a 3 line program that shows the problem: R Version - R 2.13.1 ?(32 bit) OS: WIndows 7-64 bit RQuantLib ver: 0.3.8 QuantMod ver: 0.3-17 R Test Program Execution:
library(quantmod) library(RQuantLib)
Loading required package: Rcpp
getSymbols("GOOG", from = "2011-05-01", to="2011-05-30", auto.assign = FALSE)
Error in if (adjust) { : argument is not interpretable as logical
Now if I comment out library(RQuantLib), it works perfectly. What am I doing wrong? ?Any workaround? bw - This works perfectly on my R 2.11.1 machine. Thanks, Chandra
_______________________________________________ R-SIG-Finance at r-project.org 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.
Jeffrey Ryan jeffrey.ryan at lemnica.com www.lemnica.com www.esotericR.com