[Rd] shared-mime-info (PR#8278)

mpiktas@gmail.com mpiktas at gmail.com
Thu Nov 3 09:37:21 CET 2005

Full_Name: Vaidotas Zemlys
Version: 2.1.1
OS: Ubuntu 05.10
Submission from: (NULL) (


This is really a feature request, not a bug. I wrote the mail to R-devel, 
but nobody answered it. 

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. Is it possible? As I understand it would
only concern Linux installations and R should cooperate with shared-mime-info
package which is responsible for all mime type definitions.

Vaidotas Zemlys

More information about the R-devel mailing list