Re: [Rd] Acessing pdf help files (PR#13419)

2008-12-26 Thread Duncan Murdoch

marcthiba...@tanda.on.ca wrote:

Full_Name: Marc Thibault
Version: 2.8.1
OS: Windows XP Pro SP2
Submission from: (NULL) (216.104.125.106)


I had Adobe Acrobat 5 and Adobe Reader 9 installed. The .pdf open association
is to Reader. 


When I selected Help | Manuals(in pdf) | An Introduction to R, it brought up
the file in Acrobat instead of Reader. After making sure the default
associations were correctly pointing to Reader, I took the extreme step of
uninstalling Acrobat. Now when I try the same thing, R responds with Error:
access to 'doc\manual\R-intro.pdf' denied. Outside of R, double clicking the
file brings it up in Reader as it should. Asking for HTML help works fine, so
access to doc\ hasn't really been lost.

It seems that R picks up a reference to the pdf reader at installation time,
doesn't do it right, and refuses to let go. On the other hand, reinstalling R
didn't fix the problem.
  


R uses the Windows ShellExecute function to open the file, so if 
that's not working, there's not much we can do about it.  You can see 
the association in the registry, probably under 
HKEY_CLASSES_ROOT\AcroExch.Document\shell\Open (though I don't have the 
same Acrobat versions as you, so I can't be sure). 


Duncan Murdoch

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Acessing pdf help files (PR#13419)

2008-12-26 Thread Gabor Grothendieck
From the Windows (not R) command line try this (the input you
type is after the  and the output is on the next line).  Modify
the ftype line appropriately if the output of assoc is different for you.

C:\tmp2assoc .pdf
.pdf=AcroExch.Document

C:\tmp2ftype AcroExch.Document
AcroExch.Document=C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe %1



On Wed, Dec 24, 2008 at 8:50 PM,  marcthiba...@tanda.on.ca wrote:
 Full_Name: Marc Thibault
 Version: 2.8.1
 OS: Windows XP Pro SP2
 Submission from: (NULL) (216.104.125.106)


 I had Adobe Acrobat 5 and Adobe Reader 9 installed. The .pdf open 
 association
 is to Reader.

 When I selected Help | Manuals(in pdf) | An Introduction to R, it brought up
 the file in Acrobat instead of Reader. After making sure the default
 associations were correctly pointing to Reader, I took the extreme step of
 uninstalling Acrobat. Now when I try the same thing, R responds with Error:
 access to 'doc\manual\R-intro.pdf' denied. Outside of R, double clicking the
 file brings it up in Reader as it should. Asking for HTML help works fine, so
 access to doc\ hasn't really been lost.

 It seems that R picks up a reference to the pdf reader at installation time,
 doesn't do it right, and refuses to let go. On the other hand, reinstalling R
 didn't fix the problem.

 __
 R-devel@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-devel


__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel