Closed klmr closed 9 years ago
You cannot use the Vim application that comes with MacVim. In Mac OS X, you have two options:
You cannot use the Vim application that comes with MacVim
That’s unfortunate. Furthermore, it used to work. Why the regression?
It is not a regression. The plugin did not work with MacVim at all until January. Now it at least works with the graphical MacVim. Please, read the last paragraph of section 3.2 of the Vim-R-plugin documentation (Preliminary system setup on Mac OS X).
The plugin did not work with MacVim at all until January.
Wait, it definitely worked for me, I’ve been using it for years. It stopped working when I recently updated after not touching it for about a year.
Just to clarify, it’s entirely possible that not all features of the Vim-R plugin ever worked. However, I’ve never noticed a lack. Now, however, some features definitely stopped working, such as Vim not recognising functions loaded from packages, and failure to invoke the documentation of functions inside R.
I have had access to a Mac OS X in January. I am sorry the changes that I made created new bugs, but I no longer have access to any Mac, and we have to wait until someone else fix the bug.
You could try Neovim with Nvim-R (which a never tested on Mac OS X). Perhaps, it works in your case.
And, of course, you can also use an older version of the Vim-R-plugin.
Yes, NeoVim is what I’m going to try (been meaning to switch anyway), hence why I closed the bug.
I’m experiencing intermittent issues where Vim-R isn’t able to open a temporary file to send code to R.
Typing
:messages
in Vim shows this:I’m experiencing intermittent issues where Vim-R isn’t able to open a temporary file to send code to R.
Typing
:messages
in Vim shows this:Two things:
PYTHONPATH
seems to help. However, since the problem only occurs sometimes (andPYTHONPATH
is actually set on purpose!), I’m not sure how this is connected.vim
tovim --servername VIM
(and I’ve verified that this alias is indeed being used). Shouldn’t this fix the communication?