[R-SIG-Finance] qsiblive, how to debug code with source() as sub procedure

G See gsee000 at gmail.com
Fri Jul 20 06:13:58 CEST 2012

Please see this thread:

If you're still unable to checkout, build and install the latest code,
then see this SO post: http://stackoverflow.com/a/11105132

Don't give up until you see
[1] ‘0.9.7’


On Thu, Jul 19, 2012 at 10:53 PM, unsown <unsown at gmail.com> wrote:
> Thanks for your suggestion, Soren.  After getting familiar with the debugging
> tools of R and the codes by you, I'm now able to looking into the codes line
> by line. The command traceback() and browser() work best for me.
> BTW. I might have identified a problem with IBrokers during the debugging.
> Here is the version I'm using:
> IBrokers version 0.9-3:
> Implementing API Version 9.64
> After building a connection. the "nextId" filed of the returned connection
> is actually the account name instead of an integer number, which cause a
> problem when place an order.
> The latest IB API is version 9.66. I thought it might because of my IBrokers
> is out of date and I found there is another version of IBrokers on Google
> Code. But it looks like that version is even older (0.9-0).
> --
> View this message in context: http://r.789695.n4.nabble.com/qsiblive-how-to-debug-code-with-source-as-sub-procedure-tp4636519p4637147.html
> Sent from the Rmetrics mailing list archive at Nabble.com.
> _______________________________________________
> 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