Hi, Is it possible to assign a separate colour for comments written with #, eg:- #this is a comment . I am looking to colour them differently from the program text in R-Editor (not console). Is it possible to do so? Eg. In Visual basic, the colour for remarks gets green automatically Regards Sumit [[alternative HTML version deleted]]
Sumit.Gupta at ubs.com wrote:> Hi, > > Is it possible to assign a separate colour for comments written with #, > eg:- > > #this is a comment > > . I am looking to colour them differently from the program text in > R-Editor (not console). Is it possible to do so? >Yes, in the MacOSX gui; no in the Windows gui; yes in many external text editors that work with R (e.g. Tinn-R on Windows). Duncan Murdoch> Eg. In Visual basic, the colour for remarks gets green automatically > > Regards > Sumit > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
Dear Sumit Tinn-R is a little text editor which can do all that and more: http://www.sciviews.org/Tinn-R/ Best wishes Steve Powell proMENTE social research research | evaluation | training & consulting Kranj?evi?eva 35, 71000 Sarajevo mobile: +387 61 215 997 | office: +387 33 556 865 | fax: +387 33 556 866 skype: stevepowell99 www.promente.org | www.mojakarijera.com | www.psih.org -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Sumit.Gupta at ubs.com Sent: 24 September 2007 08:49 To: r-help at r-project.org Subject: [R] Separate colour for comments in scripts Hi, Is it possible to assign a separate colour for comments written with #, eg:- #this is a comment . I am looking to colour them differently from the program text in R-Editor (not console). Is it possible to do so? Eg. In Visual basic, the colour for remarks gets green automatically Regards Sumit [[alternative HTML version deleted]] ______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. No virus found in this incoming message. Checked by AVG Free Edition. 23.09.2007 13:53 Checked by AVG Free Edition. 23.09.2007 13:53