[R] Fwd: Re: shell.exec() on Windows, unexpected behavior

From: Richard M. Heiberger <rmh_at_temple.edu>
Date: Fri, 11 May 2007 23:28:08 -0400 (EDT)


Duncan is on the right track.

Thanks.

In the CMD window

   start "c:\Program Files\R\R-2.5.0\doc\manual\R-admin.pdf" opens another CMD window with the quoted string as title.

In the CMD window

   start c:\Progra~1\R\R-2.5.0\doc\manual\R-admin.pdf (with the 8.3 name and no embedded blanks) opens Adobe Reader 8

Windows Explorer shows the Adobe 6 icon by the PDF files.

The Windows Explorer right-click menu shows three actions

   Open with Adobe Reader 8
   Open
   Print
The "Open" item uses Adobe Acrobat 6.

The "Tools/Folder Options/File Types" menu shows and Adobe 6 icon. The details sections shows the Adobe 8 icon. The "Advanced" button shows three actions

   Open with Acrobat 6
   Print
   Printto

I attempted to edit the "Open with Acrobat 6" to "Open with Acrobat 8". It didn't take. So I did a restore. I will now just have an open Acrobat 8 around when I care which version is used.

I am guessing that Adobe Reader 8 (a read-only program) saw that Adobe Acrobat 6 (a read/write program) was installed. Therefore it assumed that the user would want the write potential of the older program to take precedence over the read-only potential of the newer program. It looks to me like there are some inconsistencies in how it made those arrangements.

Rich


R-help_at_stat.math.ethz.ch 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. Received on Sat 12 May 2007 - 03:32:43 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 12 May 2007 - 13:31:37 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.