jalvesaq / Nvim-R

Vim plugin to work with R
GNU General Public License v2.0
968 stars 125 forks source link

Truncated output when using a gnome-terminal as R console #763

Closed manumart closed 9 months ago

manumart commented 1 year ago

When I use a gnome-terminal as a console from Nvim-R, the outputs from R commands printed on the terminal are truncated to ~ the height of my screen, which is a bit problematic, since there is no way for me to look most of these ouputs as soon as they exceed a given length, well below the default R "max.print" option (9999) .

I feel that this might have something to do with the way Nvim-R starts the terminal but I can't figure how (if possible) to parameterize this.

NB : this does not happen when R is started within a Tmux pane the same terminal I use for editing code, using the let R_external_term = 0 option.

Thanks a lot in advance for your feedback and for all the efforts you have been putting on Nvim-R!

jalvesaq commented 1 year ago

Can you replicate the issue with the command :terminal R? If yes, then it's a Neovim issue.

Are you loading the colorout package? If, yes, could you try without it?

manumart commented 1 year ago

Thanks for the quick reply. No I can't replicate the issue with the command :terminal R... but it indeed seems to be related to the colorout package (no problem without having colorout loaded).

jalvesaq commented 9 months ago

Nvim-R is being superseded by R.nvim, a new project that will be inaugurated in a week at the R-nvim organization. Please, check out tmp-Nvim-R and help us to find the last remaining bugs before R.nvim inauguration. When the project is officially started, you will be able to open issues there and request new features.

Nvim-R will remain alive as a feature-frozen project for Vim users. If you want to know the reason, please, see this discussion.