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

Rolf Turner r.turner at auckland.ac.nz
Thu Mar 25 01:50:30 CET 2010


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