Skip to content

Instantly share code, notes, and snippets.

@kana
Created September 14, 2008 08:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kana/10721 to your computer and use it in GitHub Desktop.
Save kana/10721 to your computer and use it in GitHub Desktop.
" Vim global plugin for R user
" Last Change: 2008 Sep 14
" Maintainer: Takao Yokoyama <wakataka423@gmail.com>
" License: This file is placed in the public domain.
if exists('g:loaded_rfunc')
finish
endif
let g:loaded_rfunc = 1
function! R()
echohl ModeMsg
echo '-- R mode --'
echohl None
.!R -q --save
normal! }
endfunction
function! Rv()
echohl ModeMsg
echo '-- R mode --'
echohl None
'<,'>!R -q --save
normal! }
endfunction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment