Saving whichever command anyone use in a file call *.command (i.e 'Rterm.command' containing either 'R --no-save --no-restore' or '/Library/Frameworks/R.framework/Resources/R' or any other choice) and doing it executable (chmod +x Rterm.command) allows to run it like any other app with double click. *.command could contain any bash script.
On Jan 24, 2014, at 8:22 AM, Dave Deriso <[email protected]> wrote: > 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 could check out Platypus to > wrap your command into an app. Basically write a simple bash script to call > R with the desired parameters, and Platypus will turn that into an app that > you can put on your launch bar. Might be easier than apple script > On Jan 23, 2014 11:15 PM, "Prof Brian Ripley" <[email protected]> wrote: > >> On 24/01/2014 05:07, Gábor Csárdi wrote: >> >>> On Thu, Jan 23, 2014 at 11:40 PM, Tyler Ritchie <[email protected]> >>> wrote: >>> >>> >>>>> 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: >>> >> >> By default: it depends on the file system in use, and that can be changed >> to be POSIX-compliant on HFS (and other FSs). >> >> >> -- >> Brian D. Ripley, [email protected] >> Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ >> University of Oxford, Tel: +44 1865 272861 (self) >> 1 South Parks Road, +44 1865 272866 (PA) >> Oxford OX1 3TG, UK Fax: +44 1865 272595 >> >> _______________________________________________ >> R-SIG-Mac mailing list >> [email protected] >> https://stat.ethz.ch/mailman/listinfo/r-sig-mac >> > > [[alternative HTML version deleted]] > > _______________________________________________ > R-SIG-Mac mailing list > [email protected] > https://stat.ethz.ch/mailman/listinfo/r-sig-mac [[alternative HTML version deleted]]
_______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
