Created
September 14, 2008 08:50
-
-
Save kana/10721 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Vim global plugin for R user | |
" Last Change: 2008 Sep 14 | |
" Maintainer: Takao Yokoyama <[email protected]> | |
" 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