Skip to main content
9 events
when toggle format what by license comment
Apr 13, 2017 at 12:55 history edited CommunityBot
replaced http://mathematica.stackexchange.com/ with https://mathematica.stackexchange.com/
Dec 20, 2012 at 7:34 comment added rm -rf Thanks for the edit @Mike :) I know there isn't any language category called "R", but I left it in there, just in case future versions introduce support for R syntax highlighting (and because, as you said, it doesn't cause any issues)
Dec 20, 2012 at 5:30 history edited Mike Honeychurch CC BY-SA 3.0
added 34 characters in body
Dec 20, 2012 at 5:30 comment added Mike Honeychurch I just tested this and found a problem. ` AutoQuoteCharacters->{}` is required otherwise if you enter a link to download data you get curly quotes which R doesn't like. I've taken the liberty of editing the answer. I have left LanguageCategory->"R" even though I don't think it is valid (but does not seem to cause an error).
Dec 20, 2012 at 1:31 comment added Murta Cool!.. It worked like a charm. Tks!
Dec 20, 2012 at 1:24 comment added rm -rf @Murta Go to: Format > Edit Stylesheet > Enter a style name and enter R in the field. In the new style cell, press Cmd-Shift-E and then delete whatever is in there and paste the above. I explain the steps with pictures in the first part of this answer
Dec 20, 2012 at 1:22 comment added Murta Very nice!.. but how I implement it as a new style?
Dec 20, 2012 at 1:21 history edited rm -rf CC BY-SA 3.0
added 80 characters in body
Dec 20, 2012 at 1:13 history answered rm -rf CC BY-SA 3.0