radian icon indicating copy to clipboard operation
radian copied to clipboard

Extra bracket, }, when sending multiple line for-loop code (from ST to Terminus)

Open ambein opened this issue 3 years ago • 1 comments

Sending for loops either as a block or line-by-line from Sublime to Terminus radian session via Ctrl-Ent automagically adds extra brackets between lines. Manually cutting and pasting the block of code works ok, but the display adds ^I at the beginning of every line of code.

Don't have the problem with the native R console.

Here is the code in ST editor,

And here is the radian console output,

Line by line does the same thing, as the whole for-loop (lines 2-5) is sent to radian, yielded a similar output as above.

If just the 2nd line is highlighted and sent to the terminal, it outputs this,

ambein avatar May 18 '21 04:05 ambein

I think setting options(radian.auto_match = FALSE) in the radian profile fixes this.

wviechtb avatar Jul 02 '21 21:07 wviechtb