R/Editors

From QERM Wiki

Jump to: navigation, search

There are tons of text editors available and many of them have modes for highlighting R syntax. This page is a place to list editors that contributors to this wiki have used and perhaps make notes about how to get them to work for R.

Contents

Crimson Editor

Look for a folder in a location like C:\Program Files\CrimsonEditor\link\ which contains a whole bunch of files with names like "extension.XXX" Open the file "extension.r". It should contain two lines. Change from REBOL to R so that it reads

LANGSPEC:R.SPC
KEYWORDS:R.KEY

Now restart the program. If you want to associate other filetypes (like .QERM) with R syntax highlighting, you can make a new copy of the extension.r file with a name like extension.QERM.

Tinn-R

Talk to James Murphy about this one.

Emacs

Talk to User:Ian or User:MotokiWu about this one.

See also

R tips AD Model Builder/Syntax Highlighting