[Rd] mime type for R scripts

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


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:

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:

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