Skip to content

service to run R from mail.app?

2 messages · Timothy Bates

#
hi all,
i wonder if anyone has made a service to send an email selection  to R and run it?

Would be nice to be able to cmd-return click and have this work, as in textmate. Especially with all the example code coming through mail lists...

If no one's done it, I'll have a go.

t
4 days later
#
On 12 Aug 2011, at 6:48 PM, Timothy Bates wrote:
Attached is a service to run selected text in R.

To install. unzip, and move the resulting file as "~/Library/Services/Run selection in R.workflow"

It will then appear in your Services menu. When run, it will send any selected text to R.app (has to be called ?R? - not R64 - and execute it.

You can assign a keyboard shortcut in Keyboard->Services

Have fun,
tim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Run selection in R.workflow.zip
Type: application/zip
Size: 48020 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20110817/d7a07bf6/attachment-0001.zip>