### [R-SIG-Mac] please recommend an editor (Hai Lin)

For the BBEdit/TextWrangler users. If you do not use it already, you may find the following Applescript helpful: set selectedText to selection as string tell application R activate cmd selectedText end tell It is very basic but it works. If you write some R code in BBEdit you can select some commands there, select the Applescript via the menu or a keyboard shortcut, and the commands are executed in the R console. To create the script just open the script editor in BBEdit, copy the code into the editor, compile it, and save the script into '~/Library/ Application Support/BBEdit/Scripts/'. You will find the script in the Applescript menu. You may want to set a keyboard shortcut (Window Palettes Scripts menu and then Set Key). Tilo ___ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac

### Re: [R-SIG-Mac] please recommend an editor (Hai Lin)

On Dec 7, 2005, at 6:58 AM, Bill Rising wrote: On Dec 6, 2005, at 6:42, Ken Beath wrote: I use TextWrangler http://www.barebones.com as a general editor. It's free and fairly powerful. I haven't set up any integration with R, but this should be possible if someone wants to do some work, as there are possibilities for source colouring, applescripting and plugin extensions. I just save the files and then Source File in R. I'm a big fan of emacs. On the mac Aquaemacs allows avoiding some of the odd keystrokes that emacs normally requires. FWIW you can avoid that in any emacs - that's what .emacs is for ;). I prefer the 'real' emacs compiled as Carbon app which is really stable and behaves as it should - the other clones sometimes don't so I'd avoid them. I guess I'll make an 'editors for R' page on the OS X wiki when I get back and we can put stuff like this there ... Cheers, Simon ___ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac

### Re: [R-SIG-Mac] please recommend an editor (Hai Lin)

Simon Urbanek wrote: On Dec 7, 2005, at 6:58 AM, Bill Rising wrote: On Dec 6, 2005, at 6:42, Ken Beath wrote: I use TextWrangler http://www.barebones.com as a general editor. It's free and fairly powerful. I haven't set up any integration with R, but this should be possible if someone wants to do some work, as there are possibilities for source colouring, applescripting and plugin extensions. I just save the files and then Source File in R. I'm a big fan of emacs. On the mac Aquaemacs allows avoiding some of the odd keystrokes that emacs normally requires. FWIW you can avoid that in any emacs - that's what .emacs is for ;). I prefer the 'real' emacs compiled as Carbon app which is really stable and behaves as it should - the other clones sometimes don't so I'd avoid them. Which emacs? is the source of huge flames (firestorms ?) on the macosx-emacs lists, of course. Aquaemacs is good at providing a natural Mac feel compatibility; if you mainly do a variety of tasks on Mac OS X I find it helps your interactions go smoothly. And recent versions have been better at stability. The maintainers are very responsive, almost as good as the Mac R team ;-). OTOH if you do emacs on different platforms a lot, then you may find Aquaemacs disconcerting. (I'm more in the former camp these days, but sympathize with both.) John I guess I'll make an 'editors for R' page on the OS X wiki when I get back and we can put stuff like this there ... Cheers, Simon ___ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac ___ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac

### Re: [R-SIG-Mac] please recommend an editor (Hai Lin)

I've written a BBEdit syntax coloring module for R language. I think it might work with the free TextWrangler too. If anyone wants a copy, email me. -- Gene On Dec 6, 2005, at 3:42 AM, Ken Beath wrote: I use TextWrangler http://www.barebones.com as a general editor. It's free and fairly powerful. I haven't set up any integration with R, but this should be possible if someone wants to do some work, as there are possibilities for source colouring, applescripting and plugin extensions. I just save the files and then Source File in R. Ken On 06/12/2005, at 10:00 PM, [EMAIL PROTECTED] wrote: Message: 1 Date: Mon, 5 Dec 2005 14:07:42 -0800 (PST) From: Hai Lin [EMAIL PROTECTED] Subject: [R-SIG-Mac] please recommend an editor To: r-sig-mac@stat.math.ethz.ch, [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain Hi R-Mac users: I am using R in Mac OS 10.3.8 and I am trying to find an editor which is compatible with R in Mac. I recently bumped into Xcode for a few times in Mac when I directly opened scripts. Would Xcode be a good editor to learn? Are there a lot people use it? I don't know what you use to edit your files. Can you recommend? Thanks for any information. Kevin - Single? There's someone we'd like you to meet. [[alternative HTML version deleted]] -- ___ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac End of R-SIG-Mac Digest, Vol 34, Issue 8 ___ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac ___ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac

### Re: [R-SIG-Mac] please recommend an editor (Hai Lin)

It would be nice to collect such modules for different mac specific editors and distribute them with the R installer. What do you think SImon? stefano On Dec 6, 2005, at 5:56 PM, gene wrote: I've written a BBEdit syntax coloring module for R language. I think it might work with the free TextWrangler too. If anyone wants a copy, email me. -- Gene On Dec 6, 2005, at 3:42 AM, Ken Beath wrote: I use TextWrangler http://www.barebones.com as a general editor. It's free and fairly powerful. I haven't set up any integration with R, but this should be possible if someone wants to do some work, as there are possibilities for source colouring, applescripting and plugin extensions. I just save the files and then Source File in R. Ken On 06/12/2005, at 10:00 PM, [EMAIL PROTECTED] wrote: Message: 1 Date: Mon, 5 Dec 2005 14:07:42 -0800 (PST) From: Hai Lin [EMAIL PROTECTED] Subject: [R-SIG-Mac] please recommend an editor To: r-sig-mac@stat.math.ethz.ch, [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain Hi R-Mac users: I am using R in Mac OS 10.3.8 and I am trying to find an editor which is compatible with R in Mac. I recently bumped into Xcode for a few times in Mac when I directly opened scripts. Would Xcode be a good editor to learn? Are there a lot people use it? I don't know what you use to edit your files. Can you recommend? Thanks for any information. Kevin - Single? There's someone we'd like you to meet. [[alternative HTML version deleted]] -- ___ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac End of R-SIG-Mac Digest, Vol 34, Issue 8 ___ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac ___ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac ___ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac

### Re: [R-SIG-Mac] please recommend an editor (Hai Lin)

Well, I guess a first thing would be to place them at the CRAN site under other where WinEdt and ESS gets linked to, and the a2ps stylesheets are. Having something in the MacOSX FAQ world make sense as well. Kasper On Dec 6, 2005, at 1:12 PM, stefano iacus wrote: It would be nice to collect such modules for different mac specific editors and distribute them with the R installer. What do you think SImon? stefano On Dec 6, 2005, at 5:56 PM, gene wrote: I've written a BBEdit syntax coloring module for R language. I think it might work with the free TextWrangler too. If anyone wants a copy, email me. -- Gene On Dec 6, 2005, at 3:42 AM, Ken Beath wrote: I use TextWrangler http://www.barebones.com as a general editor. It's free and fairly powerful. I haven't set up any integration with R, but this should be possible if someone wants to do some work, as there are possibilities for source colouring, applescripting and plugin extensions. I just save the files and then Source File in R. Ken On 06/12/2005, at 10:00 PM, [EMAIL PROTECTED] wrote: Message: 1 Date: Mon, 5 Dec 2005 14:07:42 -0800 (PST) From: Hai Lin [EMAIL PROTECTED] Subject: [R-SIG-Mac] please recommend an editor To: r-sig-mac@stat.math.ethz.ch, [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain Hi R-Mac users: I am using R in Mac OS 10.3.8 and I am trying to find an editor which is compatible with R in Mac. I recently bumped into Xcode for a few times in Mac when I directly opened scripts. Would Xcode be a good editor to learn? Are there a lot people use it? I don't know what you use to edit your files. Can you recommend? Thanks for any information. Kevin - Single? There's someone we'd like you to meet. [[alternative HTML version deleted]] -- ___ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac End of R-SIG-Mac Digest, Vol 34, Issue 8 ___ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac ___ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac ___ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac ___ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac

### Re: [R-SIG-Mac] please recommend an editor (Hai Lin)

In light of the massive response I've gotten (at least 5 emails), I've put the BBEdit/TextWrangler R language module on my webserver. You can access it at http://www.smalltime.com/gene/R.plist The file goes in ~/Library/Application Support/BBEdit/Language Modules/ for BBEdit and in ~/Library/Application Support/ TextWrangler/Language Modules/ for TextWrangler (thanks Dan) or the corresponding global Library locations. Philippe, Dan Putler suggested I forward you this information for listing on the R-GUI page. I've written a BBEdit syntax coloring module for R language. I think it might work with the free TextWrangler too. If anyone wants a copy, email me. -- Gene ___ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac