In R-studio the processing always stops at the error, if there any way to have this behavior in StatET/Eclipse?
Details:
When using R in Eclipse through StatET, if I run a command such as
x = 7
x = xx + x
x
via "Run Selection in R" (Ctrl + R, Ctrl + R) I get the output
> x = 7
> x = xx + x
Error: object 'xx' not found
> x
[1] 7
In this contrived example there isn't much of a problem, but with many lines of code its easy that the error message gets lost among many pages of output and that the wrong value is ultimately used in the rest of the calculations.
I've tried putting the whole thing curly braces works but this somewhat defeats the speed of having a dedicated command to run the selection. I've also tried options(error = NULL)
as per this post but it doesn't fix the problem.
Many thanks.