Skip to content

built-in editor underlining

3 messages · J=?ISO-8859-1?B?9g==?=rg Beyer, Graham Watt-Gremm, Simon Urbanek

#
Hello Parlamis, 

a tip regarding syntax highlighting you may (or may not ;-) find useful:
I'm using BBEdit 7.1 to edit my R-files. Of course, as a specialized tool,
it is far superior compared with R.app's built-in editor (no insult
intended). My workflow of editing-sourcing-editing is quite comfortable --
whether you switch to an internal or an external editor window makes no
difference. 

I set the syntax coloring to Tcl, which gives a quite reasonable
highlighting of R/S code. And hopefully someone comes up with a special
language module in the future. The current version of BBEdit is 8.5, and if
you don't need all its refinements, you can use their free TextWrangler,
which has pretty much the same basic functionality.

Hope that helps
(not sure, though :-)

J?rg
On Sep 17, 2006, at 9:05 PM, Parlamis Franklin wrote:

            
#
Hi there,
I agree with J?rg's approach of using a highly capable external  
editor. For longer scripts I also found the R editor to be quite slow  
to catch up sometimes. I use jedit to manage my source files for each  
of my projects (beautifully handles syntax for all my shell scripts,  
sql, latex and R/S code, among many other languages). I also keep an  
annotated ``transcript'' of when I am working interactively, for  
which chunks of code can be passed from jedit to R. jedit also has a  
beautiful project management approach, where you can collect your  
different source files into organized sidebars, create a hyperlinked  
search result sidebar from a search across all of your source files  
in the project or directory, etc. And for those who have called it a  
memory hog, it works equally fast on my ti-12in powerbook (640 mb  
ram) and my dual G5 (4gb ram). Plus it's free and open source, like R.

cheers
Graham
On 17-Sep-06, at 5:53 AM, J?rg Beyer wrote:

            
#
J?rg,
On Sep 17, 2006, at 8:53 AM, J?rg Beyer wrote:

            
Could you, please, elaborate more on that? I'm sure BBedit doesn't  
have argument hints, auto-completion etc. (features I like - but then  
that's why implemented them ;)), so I'm really curious what it can  
offer that R.app doesn't (I'm a bit surprised to hear such comparison  
with BBedit, because there are much better editors out there - but  
editors are always a matter of taste ;)). R.app *is* intended to be  
"a specialized tool" exactly for that purpose - working with R  
scripts. The only way we can figure out what users want is when they  
tell us (as every one has different workflow habits), so please share  
your thoughts with us. Even if the improvements won't necessarily  
make you switch, they can be valuable for other users.

Thanks,
Simon