vim-quickrunでvim上からpython実行
vim-pathogen入れた状態でbundleフォルダに移動して下記を実行。
git clone http://github.com/Shougo/vimshell.git
git clone http://github.com/thinca/vim-quickrun.git
¥r でプログラムが実行される。
(syntaxでpythonを選ぶ必要あり)
以下pythonでの実施例
matplotlibも実行可能。良いね。
同様の手順ではRは実行不可。
Rstudio使いなさい、ということか。
参考
http://jx-script.blogspot.jp/2010/10/vim-quickrun.html