The generic way to open an arbitrary file with an arbitrary application in OS X at the command line in a shell window is
open -a application_name file_name quoted if there are embedded spaces. One doesn't generally have to give the full path to the application. Digging into help.start() might give you some pointers. -Don At 10:24 AM -0600 2/29/08, Frank E Harrell Jr wrote: >Several people have given great advice on how to successfully use X11 on >Mac to so we can use the dvi previewer to view latex() output from >Hmisc. Now after a version upgrade of X11 and X11sdk we are getting >lots of crashes. I noticed a Mac dvi previewer with an executable >stored as /Applications/TeX/TeXShop.app/Contents/MacOS/TeXShop > >Can we bypass X11 problems and point Hmisc to this executable for dvi >viewing? > >Thanks >Frank > >-- >Frank E Harrell Jr Professor and Chair School of Medicine > Department of Biostatistics Vanderbilt University > >______________________________________________ >R-help@r-project.org mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code. -- -------------------------------------- Don MacQueen Environmental Protection Department Lawrence Livermore National Laboratory Livermore, CA, USA 925-423-1062 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.