-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: The X Window system is required to run R in an external terminal. #61
Comments
I changed the plugin's default behavior recently and now you have to manually start Tmux before starting Vim. Please see #52 and #53 for details. What you want may be achieved with the following procedure:
Please, read about "tvim" in the plugin's documentation to know how to do 2 and 3 at once. What I have written above was already explained in detail in section "Tmux usage" of the plugin's documentation. |
I have improved the warning message. Now it is: "Start 'tmux' before Vim. The X Window system is required to run R in an external terminal." |
The problem was trivial: The version to be found in the official vim-scripts Github repository: Once I checkout out this development version's master branch, Thanks and Cheers! |
Hi There, I am still using the previous Vim-R-Plugin version and pretty comfortable about it settings. Recently I upgraded the linux system and got message never before "Start 'tmux' before Vim. The X Window system is required to run R in an external terminal.". The issue is, if I start tmux manually, the vim background were also changed weirdly and furhter |
Dear programmers,
thank your for providing Vim-R-plugin.
I have a probably easy and quick to fulfill request:
Running vim in an ssh session from within tmux I would like to have Vim-R-plugin to open a new tmux window for me.
To achieve this, I set the following in my .vimrc:
let vimrplugin_term_cmd = "tmux new-window 'R"
I tried the latter tmux command and it works, i.e. it opens a new tmux window and starts R in there. But unfortunately I get the error "The X Window system is required to run R in an external terminal".
I assume the plugin checks for a running X window system before even trying to start R?
Could you introduce a simple switch to turn that check off, please?
Something like:
vimrplugin_check_x_win_sys = 0
I for one would be very happy, indeed.
Cheers!
The text was updated successfully, but these errors were encountered: