gedit with .r and .R
I am very surprised by gedit's bad properties: the following journal led to gedit syntax highlighting *R, *r, and *sh files: -------------- 1104 gedit cartetempe1.r 1105 gedit cartetempe1.R 1106 ls *sh 1107 gedit truc.sh 1108 gedit cartetempe1.R 1109 history 1110 history > histoire -------------- In line 1104 (resp.1105), I had to associate *.r (resp *.R) with its syntax highlightener: Affichage -> Mode de coloration->Scripts-> R then at line 1108 the syntax was automagically colored (with R syntax) and , trust me, *r are recognised, too. Line 1107 was used to verify there was no terrible mess with bash scripts.... Bash scripts remained highlighted with *bash* syntax... The same phenomenon occured with c files, which kept their syntax coloring... gedit (2.16.0) could edit plain files without trying to syntax highlight!!! Though gedit is not my favorite editor (vim and emacs are less ressource/RAM greedy) I was curious to test it,too... --- En date de?: Mer 19.5.10, Paul Johnson <pauljohn32 at gmail.com> a ?crit?:
De: Paul Johnson <pauljohn32 at gmail.com> Objet: Re: [R-sig-Debian] gedit with .r and .R ?: r-sig-debian at r-project.org Date: Mercredi 19 mai 2010, 1h56 On Mon, May 17, 2010 at 7:10 AM, Matthieu Stigler <matthieu.stigler at gmail.com> wrote:
I would like to recomment Gnome's editor: GEdit.
It has some really nice
Plugins, for LaTeX, Python etc. It also has Rgedit
among other goodies. Go
and check: http://live.gnome.org/Gedit/Plugins Good luck! And: Hello to Debian! :-) PM
I'm convinced Emacs with ESS is the only realistic option for me, but I was curious about the posts here about gedit. I downloaded the plugin and installed? it in gedit. I'm able to send lines from the text file to the R session, no problem.? But I don't get any color coding of the input file, which is? a downer. Worst of all, now every single file I open with gedit is treated as an R file, and so a the gedit R terminal pops up when I open shell scripts and such. In conclusion, yes, I did, and no, just use Emacs with ESS.? That's what the cool guys use. Like me :)
--
Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas
_______________________________________________ R-SIG-Debian mailing list R-SIG-Debian at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-debian