I agree the built-in editor works well.
I?ll add that I work entirely in Textmate.
In addition to the built-in editor?s features such as command execution, it offers
Flexible execution (run in R.app; run in a daemon, return to clipboard, return to this document, return as tool-tip etc
Snippets (your own tab-completable smart-typing function insertion)
Commands: convert a list of numbers to an Rvector or matrix; drop-down menu for par() parameters (cmd-;)? the list is endless and incredibly helpful
Code-folding (so you can collapse long function etc.
Wide choice of syntax highlighting schemes
On 26 Jan 2011, at 8:27 PM, Andrew Beckerman wrote:
Kristina
The mac installation of R comes with a brilliant script editor built right in.
Just start R, choose file->new to open a script and you are away.
There is line numbering, coloured context for functions etc, smart brackets and quotes and keystrokes to send the code you select to the console:
cmd+return to send selected text or the line you are on.
You've got all you need to get started quickly (and perhaps all you need), courtesy of the excellent development team for the mac.
Good luck.
Andrew
++++++++++++++++++++++++++++++++++++
Dr. Andrew Beckerman
Department of Animal and Plant Sciences
University of Sheffield
Sheffield S10 2TN
UK
a.beckerman at sheffield.ac.uk
http://www.beckslab.staff.shef.ac.uk
On 26 Jan 2011, at 20:16, Kristina Krsteva wrote:
Hello,
I have never used R before and I need to use it for a time series graduate
course AND i have a mac. I know tinn-R is a great text editor for R that
works on Windows but is there anything comparable to it for a Mac? I have
read multiple threads and my current findings are that there is really
nothing like tinn-R for a mac and that TextMate comes close (but
unfortunately this costs), some have said that they like the internal editor
as well. I would like to use a more "user-friendly" editor, if possible, and
I've been searching for hours now trying to figure out what to download and
start learning, until I stumbled upon this mailing list and was wondering if
someone could guide me and tell me what would be the most feasible option
for an editor and save me some time:)
Thank you so much,
k
[[alternative HTML version deleted]]