[R-SIG-Finance] Weird problem with latest RQuantLib not working with QuantMod on R 2.13.1

chandra bajpai cbajpai at gmail.com
Wed Sep 28 05:27:09 CEST 2011


HI Michael...thanks for the quick reply, I'm to to R, how does one
report such a bug?
I wonder if it's the bug exists in 2.12 at all.

Thanks,
Chandra

On Tue, Sep 27, 2011 at 11:21 PM, R. Michael Weylandt
<michael.weylandt at gmail.com> wrote:
> No idea why, but just chiming in to say same problem on my (mac) machine:
>
>> sessionInfo()
> R version 2.13.1 (2011-07-08)
> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>
> locale:
> [1] C/en_US.UTF-8/C/C/C/C
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> other attached packages:
> [1] RQuantLib_0.3.8 Rcpp_0.9.6      quantmod_0.3-17 TTR_0.21-0
> [5] xts_0.8-2       zoo_1.7-4       Defaults_1.1-1
>
> loaded via a namespace (and not attached):
> [1] grid_2.13.1     lattice_0.19-33 tools_2.13.1
>
> On Tue, Sep 27, 2011 at 11: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.
>
>



More information about the R-SIG-Finance mailing list