Skip to content
/ VimCom Public
forked from azvoleff/VimCom

Intermediate the communication between Vim and R

Notifications You must be signed in to change notification settings

raylim/VimCom

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VimCom

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.

How to install

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.

About

Intermediate the communication between Vim and R

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 69.8%
  • R 30.1%
  • Makefile 0.1%