[Rd] mime type for R scripts

Vaidotas Zemlys mpiktas at gmail.com
Thu Nov 4 19:10:55 CET 2004


Hi,

I use Gnome on my computer and sometimes I use its default text editor
gedit. It uses gtksourceview library for syntax highlighting. I
decided that it would be nice if gedit supported R syntax. So I
created apropriate .lang file:
http://bugzilla.gnome.org/show_bug.cgi?id=157370

Gedit picks apropriate lang file according to file mimetype, so I
created apropriate mime type for files with extension .R. I filed a bug
report at freedesktop.org:
https://freedesktop.org/bugzilla/show_bug.cgi?id=1782

There Christophe Fergeau suggested that maybe R could take care of
installing this mime type by itself. So my question would be could R
do this?

Feel free to make any suggestions concerning mime type, or syntax
highlighting file.

Vaidotas Zemlys



More information about the R-devel mailing list