Wednesday, August 24, 2011

Re: Help installing vim-r-plugin-110805

Successfully started and edited R code from gvim.

Didn't realize that the plugin is only activated when editing .r files, D'oh!

...remember to READ the instructions


Sean


On Mon, Aug 22, 2011 at 9:08 PM, Sean Creekmore <screek2@tigers.lsu.edu> wrote:
I checked out the links John suggested -- thanks John -- but I still can't figure out how to start R in Vim.

After taking the previously mentioned steps (installing Python), I've now extracted all the files in vim-r-plugin-110805.zip file into my vimfiles folder.

Windows merged identical folders (e.g. the autoload, bitmap, ftplugin folders that came with vim-r-plugin-110805.zip) and added a new folder called r-plugin.

So my C:\Users\Sean\vimfiles folder looks like this:

└───vimfiles
    ├───autoload
    ├───bitmaps
    ├───bundle
    │   └───nerdtree
    │       ├───doc
    │       ├───nerdtree_plugin
    │       └───plugin
    ├───colors
    │   └───plugin
    ├───compiler
    ├───doc
    ├───ftdetect
    ├───ftplugin
    ├───indent
    ├───keymap
    ├───plugin
    ├───r-plugin
    └───syntax

Still, nothing happens, aside from invoking the error bell, when I type \rf (which is supposed to start R) in Vim.

After extracting vim-r-plugin-110805.zip, does anybody know what I should do next?


Sean


 

On Mon, Aug 22, 2011 at 5:59 PM, John Beckett <johnb.beckett@gmail.com> wrote:
Sean Creekmore wrote:
> 2.) How do you "build the tags file for this document"?

The command given at
http://www.vim.org/scripts/script.php?script_id=2628

looks correct, that is, run Vim and enter:

:helptags ~\vimfiles\doc

According to the list of files, one file is:
   doc/r-plugin.txt

and you would need to have copied that file to ~/vimfiles/doc
first. There is some info on ~ and $HOME at:
http://vim.wikia.com/wiki/Filetype.vim

Or, you could just read the file without the above.

I don't know anything about R, but if you discover some info,
you might like to contribute to these pages on the wiki (the
first is linked at "Vim wiki" on the top of the script page):

http://vim.wikia.com/wiki/Script:2628
http://vim.wikia.com/wiki/Working_with_R_Project_for_Statistical_Computing

John

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php



--
Department of Oceanography and Coastal Sciences
Louisiana State University
Baton Rouge, LA 70803



--
Department of Oceanography and Coastal Sciences
Louisiana State University
Baton Rouge, LA 70803

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: