I see this question is different from the previous ones, asking for a recommendation specific to Intro to R students. For part of your Mac question, I suggest TextMate for two reasons. Firstly, the default answer βjust use the Aqua R.app Guiβ that comes with R has minimal syntax highlighting and does not allow you to save and paste R commands (and not what I know, at least). Both of these things make learning a new language less painful and more effective. But this may not justify the overhead of training the editor while learning a new language.
No doubt others here recommend TM, but they may not mention the multi-level TextMate learning curve, i.e. someone who has never seen a TM before, after a 45-minute training course, starts an interactive R session from it and uses it to save / retrieve R commands "fragments". TM is not free, but it is about $ 50 with an academic discount. I would recommend three packages for using R in TM, (i) R.app; (ii) R.daemon; and (iii) R, all of which are in the TM svn repository .
source share