My configuration is Windows XP, R-2.5.1patched. My standard browser in Windows is Firefox 2.0.6, and I am using htmlhelp. I have problems with starting the browser for displaying help. help("lm") works as it should when Firefox is already running. When I do help("lm") and the browser is not yet started, I get Error in shell.exec(url) : 'C:\PROGRA~2\R\R-25~1.1\library\stats\html\lm.html' not found but nevertheless the browser starts and the html file is displayed some seconds later. If I try to use help from within a function and the browser is not open, the browser will not start and therefore help will not be displayed. Has anybody else experienced the same problem? Is there a solution? -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1-4277-39459
I found a solution to my problem. It is describe here. kb.mozillazine.org/Windows_error_opening_Internet_shortcut_or_local_HTML_file_-_Firefox Essentially, it involves switching off DDE for some file associations in Windows Explorer. It really is a Firefox bug. Erich Neuwirth wrote:> My configuration is Windows XP, R-2.5.1patched. > My standard browser in Windows is Firefox 2.0.6, > and I am using htmlhelp. > I have problems with starting the browser for displaying help. > help("lm") works as it should when Firefox is already running. > When I do help("lm") and the browser is not yet started, > I get > Error in shell.exec(url) : > 'C:\PROGRA~2\R\R-25~1.1\library\stats\html\lm.html' not found > but nevertheless the browser starts and the html file is displayed > some seconds later. > > If I try to use help from within a function and the browser is not open, > the browser will not start and therefore help will not be displayed. > > Has anybody else experienced the same problem? > Is there a solution? > >-- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1-4277-39459