Public bug reported:

This has been observed on Ubuntu 11.04 and 12.04 (so it probably also
occurs in 11.10).

An R script (http://www.r-project.org/) is a text file with the
extension ".R". If the file starts with a comment (the first line starts
with "##") - which is very common for source code - the file type listed
in Nautilus is "MATLAB script/function". This is annoying given that R
can be seen as competitor to MATLAB.

If the file doesn't start with "##", it is identified as "plain text
document", which is not really specific, but also not wrong.

I would suggest to identify text files as "MATLAB script/function" only
if they have the appropriate extension ".m". This should also solve bug
#319533. Further, it would be nice to add a file type for "R script".

** Affects: shared-mime-info (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to shared-mime-info in Ubuntu.
https://bugs.launchpad.net/bugs/1040050

Title:
  R script misidentified as MATLAB script/function

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/1040050/+subscriptions

-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to