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

Gi-Mick Wu mick.wu at mail.mcgill.ca
Thu Mar 25 01:57:43 CET 2010


Thanks everyone!

Of course it had to be simple.

Someday, I may get rid of the annoying point & click; for now I'm recovering from Windows.

Cheers,
Mick

On 2010-03-24, at 5:50 PM, Rolf Turner wrote:

> 
> On 25/03/2010, at 1:48 PM, Kasper Daniel Hansen wrote:
> 
>> 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.
> 
> No, I am obviously not claiming that at all.  You are just being
> silly/deliberately obtuse.
> 
> 	cheers,
> 
> 		Rolf Turner
> ######################################################################
> Attention: 
> This e-mail message is privileged and confidential. If you are not the 
> intended recipient please delete the message and notify the sender. 
> Any views or opinions presented are solely those of the author.
> 
> This e-mail has been scanned and cleared by MailMarshal 
> www.marshalsoftware.com
> ######################################################################



More information about the R-SIG-Mac mailing list