Re: [R] help.start() doesn't work

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Wed 28 Dec 2005 - 01:32:24 EST

Andreas Zocher <andreas.zocher@postmail.ch> writes:

> I installed the latest R-package "R-2.1.1-1.rh4AS.i686.rpm" on a Red Hat
> Desktop 4 (RH EL4) machine. When I try to get help by the help.start()
> command an error message appears:
>
> -----
> > help.start()
> Making links in per-session dir ...
> If '/usr/bin/mozilla' is already running, it is *not* restarted, and
> you must switch to its window.
> Otherwise, be patient ...
> sh: /usr/bin/mozilla: Datei oder Verzeichnis nicht gefunden
> sh: /usr/bin/mozilla: Datei oder Verzeichnis nicht gefunden
> -----
>
> The firefox browser is installed in "/usr/lib/firefox-1.0.7" by
> default.
>
> How can I change R's browser path?

options(browser="/usr/bin/firefox")

is one way. Setting the environment variable R_BROWSER (before starting R) is another. And meddling with the Renviron file, personal or system-wide, is a third method.

This information does seem to be a bit tricky to dig out from the R documentation, especially the R_BROWSER bit. I can only find a somewhat oblique reference in the R-admin manual and of course ?Startup points you towards the Renvironment files and $RHOME/etc/Renviron demonstrates what you can set and how.

-- 
   O__  ---- Peter Dalgaard             ุster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)                  FAX: (+45) 35327907

______________________________________________
R-help@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
Received on Wed Dec 28 01:39:45 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:42 EST