[R] Debugging using RStudio or any other R editor

R. Michael Weylandt michael.weylandt at gmail.com
Tue Feb 21 14:16:54 CET 2012


?findLineNum in conjunction with ?setBreakpoint and ?traceback or
options(error=recover) seems like a good strategy within R. Not sure
what you can get on the IDE end.

Michael

On Tue, Feb 21, 2012 at 2:38 AM, jpm miao <miaojpm at gmail.com> wrote:
> Hello,
>
>   I am using RStudio and have trouble finding out the problematic line in
> the presence of a bug. Could I view the  line NUMBER which contains a bug?
> Is there any R editor able to do it?
>
>   Thanks,
>
> Miao
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list