Reputation: 11
In my collegue's version of R the different types of text become different colours when you write in the editor(for example functions are blue while text in quotation marks is green). For me, however, all the text is black which I think makes it harder to get a quick understanding of the code. There is also no automatic line break. Is it because he has the mac version while I have the PC version? Is there som way i can change this?
Thanks in advance!
Upvotes: 1
Views: 14077
Reputation: 2321
Edit: changing the settings below will allow you to change the color of, say, R help text or of code but doesn't actually enable syntax highlighting. Per @Roland's comment, your best bet is a different text editor (such as Notepad++,RStudio, or Sublime) or a syntax highlighting package. Apparently the Mac version of the R editor really is just better (per this wiki)
You can change the settings in Edit>RGUI Preferences, under "Console and Pager Colours".
Upvotes: 1