[R-SIG-Finance] help: blotter debugging: How to step into a blotter function.

Brian G. Peterson brian at braverock.com
Thu Oct 28 12:19:11 CEST 2010


On Wed, 27 Oct 2010 22:30:25 -0700, Lei Jin <leijin56 at gmail.com> wrote:
> Hi,
> 
> I just picked up R and played with few samples.  I need some help on
> debugging.
> 
> How do I debug a function in a package like blotter?  I would like to
step
> into the function.  Right now, I got the following error from my script
> below.  I copied and modified the sample script from somewhere.  I don't
> know where the error message coming from (OK, I guess it is coming from
> getEndEq()), the message does not have a call stack trace.  What's the
> effective way of debugging such message?

You may also want to start with the demo scripts in the package itself,
and make sure you understand those first.

Regards,

  - Brian

-- 
Brian G. Peterson
http://braverock.com/brian/
Ph: 773-459-4973
IM: bgpbraverock



More information about the R-SIG-Finance mailing list