[R-SIG-Mac] shell.exe() equivalent?

Kasper Daniel Hansen kasperdanielhansen at gmail.com
Thu Mar 25 01:48:30 CET 2010


On Wed, Mar 24, 2010 at 8:35 PM, Rolf Turner <r.turner at auckland.ac.nz> wrote:
> Note that Mac OSX is really Unix (with an annoying point-and-click veneer
> pasted on top of it) so you don't need to mess around with this ``open''
> nonsense.  Just make ``filename'' executable.  Then you can do
>
>  > system(filename)
>
> Or if ``filename'' is not executable and you don't want to bother making
> it so, do
>
>  > system(paste("source",filename))

So you are claiming that if I make a PDF file executable, executing
the file will open it up in a pdf viewer.  Interesting.

Kasper



More information about the R-SIG-Mac mailing list