One more advantage of TextMate is support for Sweave files. You can have a Sweave file open, and the LaTeX parts of it are syntax colored according to LaTeX and one can use all the facilities of the LaTeX extension (bundle) in LaTeX (which probably has some things similar to AucTeX, has a number of other features and perhaps misses some features, I'm not too familiar with AucTeX to do a definitive comparison), while on the other hand the R parts are colored according to the R syntax and one can use all the goodies of the R bundles that Hans-Jörg describes below.

It does have the disadvantage of not being free, but personally it's the best $60 I've ever spent. There's a 30-day fully functional free trial period.

Haris Skiadas
Department of Mathematics and Computer Science
Hanover College

On Jun 18, 2008, at 1:54 PM, Hans-Jörg Bibiko wrote:


On 18.06.2008, at 18:09, Graham Smith wrote:

Have a look at TextMate  http://macromates.com/

There are three extensions (bundles) available dealing with R for TextMate [up to now in the Review repository]:
[in very short terms]
1) R
- writing R scripts and executing it (plots are inside as pdfs available)
- one can execute more than one R script
- fast syntax highlighting, snippets (macros) for fast writing etc.
- command completion
- GUI for inserting function parameters
- displaying the command signature
- tidy function
- drag'n'drop facilities (drag a csv to the window it inserts read.csv('filename'))
....

2) R Console (R.app)
- to remote R.app via AppleScript but with all goodies of TextMate
....

3) R Console (Rdaemon) - an ESS-like extension
- R runs hidden inside of TextMate
- it combines a text editor and the R console in a sophisticated way
- easy to expandably
- many GUI-like elements (Graphics/Package Manager ...)
- only written in scripting languages
- crash safer - if R/TextMate/Mac crashes one has at least the entire last session as text file to reconstruct
....

and many many many more

If you want to know more let it me know.

--Hans


2008/6/18 Sebastian Leuzinger <[EMAIL PROTECTED]>:

Dear R-list
I am (forced) to change from Linux to Mac and am now looking for a new editor for R. I would like one that features a split window (console + editor) as well as syntax highlighting. Can anyone help? Especially the split-window feature does not seem to be easily available in the editors desribed on the R-help site, except Emacs, which I am reluctant to start
using.

______________________________________________
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.

Reply via email to