This is the development version of the R package "VimCom", which runs a server in R to receive messages from the Vim-R-plugin. This package has support only for Vim. If you use Neovim, please, look at nvimcom.
Note that you only need this version of VimCom if you are using the development version of Vim-R-plugin. If you are using a released version of Vim-R-plugin, you will also need a released version of vimcom.
The easiest way to install vimcom is to use the devtools package.
devtools::install_github("jalvesaq/VimCom")
To manually download and install VimCom, do the following in a terminal emulator:
git clone https://github.com/jalvesaq/VimCom.git
And, then, do in R:
install.packages("path/to/VimCom", type = "source", repos = NULL)
On Mac OS X, by default, vimcom will be compiled without support for Vim's clientserver feature, which depends on the X Server. MacVim's clientserver feature depends on Cocoa. On any other Unix system, the package is built with support for X Server and, consequently, the X11 headers must be installed. Please access the official vimcom webpage for details.
To enable the support for Vim's 'clientserver' based on the X Server on Mac OS X, do the following:
install.packages("path/to/VimCom", type = "source", repos = NULL,
configure.args = "--enable-clientserver")
If you want to understand how the communication between Vim and R works, in addition to reading the source code of Vim-R-plugin and VimCom, look at the graphics of vimrcom.pdf.