With the R plugin, every output field starts with repeating the content of the associated output field. I find this very distracting, is there any way to avoid this?
R plugin repeating the input at the start of associated output field
I did not understand your question. Could you make an example or rephrase it?
This is how it looks for me

And this is how it looks for me

There was a typo in my question; I meant to say “every output field starts with repeating the associated input”. I am using TeXmacs 2.1.4.
I am also using 2.1.4 (Debian 1:2.1.4+ds-3).
It is puzzling. Let us see if anyone has an idea.
It turns out additional input string at the start of output cell comes from pty echoing back the input sent to R by TeXmacs. Even though there is multiple places in tm_r.c where echo is turned off using tcsetattr(), there’s even more places where this is commented out. Uncommenting line 966 in the function main()
termi.c_lflag &= ~ECHO ; /* no echo */
solves the problem.
2 Likes