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

Gi-Mick Wu mick.wu at mail.mcgill.ca
Thu Mar 25 00:37:12 CET 2010


Greetings R Mac users,

I switched from windows to mac relatively recently (better late than never), and am still adjusting.

Does anyone know whether there is the equivalent of shell.exe(filename)?

Basically, I used the command to view a graph that was just saved in a pdf/png or other formats without having to manually open the file.

### Example:
pdf(filename, ... )
   plot( ... )
dev.off()
shell.exec(filename)

###

Thanks!
Mick
PS I searched the list, R help, & google, but did not find it



More information about the R-SIG-Mac mailing list