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

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Thu Nov 3 10:21:28 CET 2005


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 mpiktas at gmail.com wrote:

> Full_Name: Vaidotas Zemlys
> Version: 2.1.1
> OS: Ubuntu 05.10
> Submission from: (NULL) (213.197.173.50)
>
>
> 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:
> 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. 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,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list