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

From: <>
Date: Thu 03 Nov 2005 - 09:21:28 GMT

We do not usually put features in R which are specific to just some distributions of some OSes, and in this case to one editor on those. We do not for example include the ESS mode for the much-more-widely-used Emacs family of editors.

This looks as if it might be appropriate to the Linux binary packages for R, so I suggest you contact their maintainers. But my understanding is that this is an issue for gedit and not for R. Indeed .R is just a convention (one of many choices, including .r and .q) for R itself.

I do wonder why you concentrated on .R files and not .Rd files, where I find syntax highlighting more useful.

On Thu, 3 Nov 2005 wrote:

> Full_Name: Vaidotas Zemlys
> Version: 2.1.1
> OS: Ubuntu 05.10
> Submission from: (NULL) (
> Hi,
> This is really a feature request, not a bug. I wrote the mail to R-devel,
> but nobody answered it.

That's generally a sign of lack of interest, and also in your case that you fail to sign your emails, a basic courtesy especially for people using an anonymous email address.

> 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
> 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

NB: signature missing

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Thu Nov 03 20:28:08 2005

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:33 GMT