Skip to content

Editor for RD file?

5 messages · Christofer Bogaso, Duncan Murdoch, Joshua Wiley +2 more

#
On 11-10-16 8:57 AM, Bogaso Christofer wrote:
I believe ESS does syntax highlighting for Rd files if you use Emacs.

You could probably modify a LaTeX syntax highlighter for any other 
editor to work with Rd files:  the syntax is quite similar.

Duncan Murdoch
#
On Sun, Oct 16, 2011 at 7:20 AM, Duncan Murdoch
<murdoch.duncan at gmail.com> wrote:
Yes, it does.  It is also nice because it runs R, so if I am writing
examples in the Rd files, I can run them directly.  Here is the little
blurb regarding the major mode for Rd files:

(Rd-mode)

Major mode for editing R documentation source files.

This mode makes it easier to write R documentation by helping with
indentation, doing some of the typing for you (with Abbrev mode) and by
showing keywords, strings, etc. in different faces (with Font Lock mode
on terminals that support it).

Cheers,

Josh

  
    
#
Eclipse with the Stat-ET plugin does syntax highlighting for .R, .Rd and .Rnw files.

Best regards,

Thierry
#
Tinn-R also highlights .rd files and is free.

Me, I use TextPad with a latex syntax file.

 S Ellison
This email and any attachments are confidential. Any use...{{dropped:8}}