You are here:
Vanderbilt Biostatistics Wiki
>
Main Web
>
TWikiUsers
>
JeremyStephens
>
RVim
(revision 5) (raw view)
Edit
Attach
---+ R and VIM I modified the existing R vim syntax file, and created a vim R indent file since R's indention in vim was broken. Below are the attachments. Installation instructions: * From a terminal run the command: =mkdir -p ~/.vim/indent ~/.vim/syntax= * Move [[%ATTACHURL%/indent-r.vim][indent-r.vim]] to *~/.vim/indent/* and rename it to *r.vim* (Ex: =mv indent-r.vim ~/.vim/indent/r.vim=) * Move [[%ATTACHURL%/syntax-r.vim][syntax-r.vim]] to *~/.vim/syntax/* and rename it to *r.vim* (Ex: =mv syntax-r.vim ~/.vim/syntax/r.vim=) The syntax file currently defines highlighting for most (if not all) functions from the base, stats, graphics, tools, methods, and utils packages. Fixed to include primitive and internal statements. There may be duplicates; also there is some concern about the file size, since syntax files are generally supposed to be small. Works fine on my machine though. For the bleeding edge version of these files, here's a [[http://160.129.129.156/svn/misc/trunk/vim/][link]] to my subversion repository (assuming my computer is on and my ip address doesn't change for a while). -- Main.JeremyStephens - 14 Sep 2005
Attachments
2
Attachments
2
Topic attachments
I
Attachment
Action
Size
Date
Who
Comment
vim
indent-r.vim
manage
1.0 K
09 Sep 2005 - 12:54
JeremyStephens
VIM indent file for R
vim
syntax-r.vim
manage
46.5 K
13 Sep 2005 - 10:38
JeremyStephens
VIM syntax file for R
Edit
|
Attach
|
P
rint version
|
H
istory
:
r7
|
r6
<
r5
<
r4
<
r3
|
B
acklinks
|
V
iew topic
|
Edit WikiText
|
More topic actions...
Topic revision: r5 - 28 Dec 2005,
JeremyStephens
Main
Department Home Page
Biostatistics Graduate Program
Vanderbilt University Medical Center
Main Web
Main Web Home
Search
Recent Changes
Changes
Topic list
Biostatistics Webs
Archive
Main
Sandbox
System
Register
|
Log In
Copyright © 2013-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Vanderbilt Biostatistics Wiki?
Send feedback