[R-SIG-Mac] Smultron as an external editor
Rob Goedman
goedman at mac.com
Thu Dec 25 16:54:01 CET 2008
Burkard,
Something along:
#!/bin/bash
osascript -e 'tell application "R.app" to activate'
osascript -e "tell application \"R.app\" to cmd \"source(file='%%p',
print.eval=TRUE)\""
works on my system.
Regards,
Rob
On Dec 24, 2008, at 11:06 AM, Burkard Pfeiffer wrote:
> Hi there,
>
> can anyone please help me how to run Smultron as an external editor?
> I am
> fairly new to R and don't know much about apple script either. I tried
> some osascript in the Commands-Window of Smultron but it didn't
> work. I
> run Smultron v3.5, R 2.8.1 and OSX Leopard 10.5.5.
>
> I would like to execute script, written in smultron...
>
> Thanks in advance + merry xmas
>
> burkard
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
More information about the R-SIG-Mac
mailing list