Re: [R] kate editor for R

From: Marc Schwartz <marc_schwartz_at_comcast.net>
Date: Fri 19 Jan 2007 - 03:59:07 GMT

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



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri Jan 19 15:04:57 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 19 Jan 2007 - 05:30:26 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.