Re: [R-SIG-Mac] Shortcut for launching command line R?

2014-01-23 Thread Simon Urbanek
That seems a bit convoluted to me. For a clickable document you can simply create R.command containing single line R If you want an app, just open the Automator, pick Application type, select Run Shell Script with single line open -a Terminal /usr/bin/R Cheers, Simon On Jan 23, 2014, at 6:09

Re: [R-SIG-Mac] Shortcut for launching command line R?

2014-01-23 Thread Dave Deriso
for OSX just add this to your ~/.bash_profile alias r=’/Library/Frameworks/R.framework/Resources/R’ ...open terminal and type r bam! On Thu, Jan 23, 2014 at 5:56 PM, Simon Urbanek simon.urba...@r-project.orgwrote: That seems a bit convoluted to me. For a clickable document you can

Re: [R-SIG-Mac] Shortcut for launching command line R?

2014-01-23 Thread Simon Urbanek
On Jan 23, 2014, at 9:40 PM, Dave Deriso der...@gmail.com wrote: for OSX just add this to your ~/.bash_profile alias r=’/Library/Frameworks/R.framework/Resources/R’ ...open terminal and type r bam! Well, in Terminal you don't need any alias - just type R But that was not Reijo's

Re: [R-SIG-Mac] Shortcut for launching command line R?

2014-01-23 Thread Robert J Goedman
It would be nice if Reijo's approach would provide basic AppleScripting, primarily to handle scripting in a Terminal from TextMate, etc. Regards, Rob Sent from my iPhone On Jan 23, 2014, at 7:41 PM, Simon Urbanek simon.urba...@r-project.org wrote: On Jan 23, 2014, at 9:40 PM, Dave

Re: [R-SIG-Mac] Shortcut for launching command line R?

2014-01-23 Thread Tyler Ritchie
Well, in Terminal you don't need any alias - just type R If you really want to save the shift though.. alias r='R' But that was not Reijo's question ... he didn't want to start Terminal manually ... Agreed, Automator accomplishes this nicely. Though, I rarely actually want to *just* run

Re: [R-SIG-Mac] Shortcut for launching command line R?

2014-01-23 Thread Gábor Csárdi
On Thu, Jan 23, 2014 at 11:40 PM, Tyler Ritchie tyler.ritc...@gmail.comwrote: Well, in Terminal you don't need any alias - just type R If you really want to save the shift though.. alias r='R' No, OSX is case insensitive: ~$ which r /usr/bin/r ~$ which R /usr/bin/R ~$ ls -l

Re: [R-SIG-Mac] Shortcut for launching command line R?

2014-01-23 Thread Tyler Ritchie
If you really want to save the shift though.. alias r='R' No, OSX is case insensitive: Oh, so it is... [[alternative HTML version deleted]] ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org

Re: [R-SIG-Mac] Shortcut for launching command line R?

2014-01-23 Thread Dave Deriso
Hmm on my system the new osx version doesn't put the r binary in the usual path folders so I had to create an alias...are you guys running the new version? On Jan 23, 2014 9:08 PM, Gábor Csárdi csardi.ga...@gmail.com wrote: On Thu, Jan 23, 2014 at 11:40 PM, Tyler Ritchie

Re: [R-SIG-Mac] Shortcut for launching command line R?

2014-01-23 Thread Dave Deriso
Im using the latest release and the terminal did not recognize the usual R command, hence I created an alias. Note that the binary in bin is a symbolic link to the Library path, so I guess you could just add a link to the usr bin path if its missing. To circle back to the original question, you