[R-SIG-Finance] qsiblive, how to debug code with source() as sub procedure
G See
gsee000 at gmail.com
Sat Jul 14 17:03:40 CEST 2012
On Sat, Jul 14, 2012 at 9:59 AM, unsown <unsown at gmail.com> wrote:
> I'm not an experienced R user and I'm currently trying with the psiblive demo
> codes. I found the source() command has been used in quite a few places in
> the codes. I understand that by using this a long procedure can be separated
> into several modules, but I found it is not easy to debug. One of the
> difficulty is that it seems not easy to find out which file and which line
> the error belonged to.
Maybe ?getSrcFilename can help with this
Regards,
Garrett
More information about the R-SIG-Finance
mailing list