Under "Edit... Text Options... Languages" there are several that are "close enough" to provide usefulness in R. Options like "Ruby", "Python", "C++", etc all help with colorizing in rule-based ways, and making sure quotes match, and every "(" has a ")", etc.
Just visual aids-- I'm sure one could pass selected text to R using the scripting features, but I've never bothered to study that. --------------------------------------- Dave On Thu, Dec 16, 2010 at 8:32 PM, huang min <minhua...@gmail.com> wrote: > Dear David, > > I also use the build-in editor and textwrangler. How can I get the syntax > highlighting in textwrangler? > [[alternative HTML version deleted]] ______________________________________________ R-help@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.