[R] Debugging using RStudio or any other R editor

Shige Song shigesong at gmail.com
Tue Feb 21 14:26:03 CET 2012


Both ESS (with ess-tracebug) and StatET (an R plug-in for Eclipse) has
debugger function.

Shige

On Tue, Feb 21, 2012 at 8:16 AM, R. Michael Weylandt
<michael.weylandt at gmail.com> wrote:
> ?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.
>
> ______________________________________________
> 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