Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
VimL Python

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
autoload
bitmaps
doc
ftdetect
ftplugin
indent
r-plugin
syntax
README

README

This is a mirror of http://www.vim.org/scripts/script.php?script_id=2628

This plugin improves Vim's support for editing R code and makes it possible to integrate Vim with R. The functionality is similar to what you can find in Tinn-R and ESS mode of Emacs. This filetype plugin uses either tmux or screen with the Screen plugin (Linux, OS X, or other Unix, vimscript #2711) or Python (Microsoft Windows) or Apple Script (Mac OS X) to communicate with R. 

Screenshots and Debian package: http://www.lepem.ufc.br/jaa/vim-r-plugin.html
Development code: https://github.com/jcfaria/Vim-R-plugin

MAIN FEATURES:

  * Syntax highlighting for R code, including:
      - Special characters in strings.
      - Functions of all installed packages (must be updated manually).
      - Special highlighting for R output (.Rout files).
      - Spell check only strings and comments.
      - Fold code when foldmethod=syntax.
  * Syntax highlighting for RHelp syntax.
  * Smart indentation for R syntax.
  * Smart indentation for RHelp syntax.
  * Integrated communication with R:
      - Start/Close R.
      - Send lines, selection, paragraphs, functions, blocks, entire file.
      - Send commands with the object under cursor as argument: help, args,
	plot, print, str, summary, example, names.
      - Send to R the Sweave and pdflatex commands.
      - Run R inside a Vim's buffer.
  * Omni completion (auto-completion) for R objects (.GlobalEnv and installed
    packages. The list of installed packages must be updated manually.
  * Ability to see R's documentation in a Vim's buffer:
      - Automatic calculation of the best layout of the R documentation buffer
	(split the window either horizontally or vertically according to the
	available room).
      - Automatic formating of the text to fit the panel width.
      - Send code and commands to R (useful to run examples).
      - Jump to another R documentation.
      - Syntax highlighting of R documentation.
  * Object Browser (.GlobalEnv and loaded packages; must be updated manually):
      - Send commands with the object under cursor as argument.
      - Call R's help() with the object under cursor as argument.
      - Syntax highlighting of the Object Browser.
  * Most of the plugin's behavior is customizable.


USE: Please, read the plugin's documentation.

FILES:

   autoload/rcomplete.vim
   bitmaps/RClearAll.bmp
   bitmaps/RClearAll.png
   bitmaps/RClear.bmp
   bitmaps/RClear.png
   bitmaps/RClose.bmp
   bitmaps/RClose.png
   bitmaps/ricon.png
   bitmaps/ricon.xbm
   bitmaps/RListSpace.bmp
   bitmaps/RListSpace.png
   bitmaps/RSendBlock.bmp
   bitmaps/RSendBlock.png
   bitmaps/RSendFile.bmp
   bitmaps/RSendFile.png
   bitmaps/RSendFunction.bmp
   bitmaps/RSendFunction.png
   bitmaps/RSendLine.bmp
   bitmaps/RSendLine.png
   bitmaps/RSendParagraph.bmp
   bitmaps/RSendParagraph.png
   bitmaps/RSendSelection.bmp
   bitmaps/RSendSelection.png
   bitmaps/RStart.bmp
   bitmaps/RStart.png
   doc/r-plugin.txt
   ftdetect/r.vim
   ftplugin/rhelp.vim
   ftplugin/rnoweb.vim
   ftplugin/r.vim
   ftplugin/rbrowser.vim
   indent/r.vim
   indent/rhelp.vim
   indent/rnoweb.vim
   r-plugin/build_omniList.R
   r-plugin/common_buffer.vim
   r-plugin/common_global.vim
   r-plugin/etags2ctags.R
   r-plugin/functions.vim
   r-plugin/omniList
   r-plugin/vimbrowser.R
   r-plugin/vimhelp.R
   r-plugin/vimprint.R
   r-plugin/vimSweave.R
   r-plugin/r.snippets
   r-plugin/screenrc
   r-plugin/screenrc.xterm
   r-plugin/specialfuns.R
   r-plugin/tex_indent.vim
   r-plugin/tmux.conf
   r-plugin/vimActivate.js
   r-plugin/windows.py
   syntax/rbrowser.vim
   syntax/rout.vim
   syntax/r.vim

Something went wrong with that request. Please try again.