Closed DJJ88 closed 2 years ago
Thanks for bringing it up. It happens because during printing expressions are split across multiple lines. Removing @--- marker would not work because on the elisp side it is used to identify expressions. I have fixed this by setting a very large width option to avoid the division.
Hello,
I noticed that R watch cannot handle long expression properly. It breaks long expression with
@---
for some reasons. I admit that I don't fully understand why, but I have tracked it down to.ess_watch_eval
.Below is a dummy example to reproduce the error, but we could imagine to have in real life a
data.frame
with 4 or 5 colums.then in R watch if we add the following new expression in R watch (ess-watch)
After the expression is loaded in R it becomes
The problem is that, after this expression we cannot enter any new expression as R complains because of a syntax error.
After the patch we have
We still have extra space but R does not complain.