[R] kate editor for R

Marc Schwartz marc_schwartz at comcast.net
Fri Jan 19 04:59:07 CET 2007


On Thu, 2007-01-18 at 20:30 -0600, Frank E Harrell Jr wrote:
> Like kile for LaTeX, Linux/KDE's kate editor is an excellent editor for 
> R, with easy code submission to a running R process.  Syntax 
> highlighting is good.  I have  not been able to figure out two things:
> 
> - how to automatically reformat a line or region of text using good 
> indentation rules (Emacs/ESS make this so easy by just hitting Tab while 
> the cursor is in a line, or highlighting a region and hitting Esq q)
> 
> - how to cause auto-indenting as you type braces.  For me, kate puts a { 
> in column one
> 
> Thanks for any pointers.

Frank,

I'm not sure if what I found provides an optimistic outlook, however,
you might find the following helpful:

See the questions:

  Can I use different indenters for different files?

  How can I get KatePart to autoindent XXX code?

at http://kate-editor.org/faq.  KatePart is the text editing component
in Kate.

In the two answers, there are links to articles that provide additional
insight into implementing indentation functionality in Kate.

HTH,

Marc



More information about the R-help mailing list