Hello, as I just spent a (too long) while searching for a way how to persistantly switch back the help display routines from chm to text, here a small documentation how to do that with the windows version of R. The windows installer asks which help type you want to use, I wanted to test the chm version -- which I didn't like. If you after installation want to switch back, you have to edit << myRdirectory\etc\Rprofile.site >> and change the line options(chmhelp=TRUE) back to options(chmhelp=FALSE) It would be nice if -- in a future release -- this also could be changed in the GUI settings. Best, Fridolin -- Fridolin Wild, Institute for Information Systems and New Media, Vienna University of Economics and Business Administration (WUW), Augasse 2-6, A-1090 Wien, Austria fon +43-1-31336-4488, fax +43-1-31336-746
On Tue, 19 Dec 2006, Fridolin Wild wrote:> > Hello, > > as I just spent a (too long) while searching > for a way how to persistantly switch back the help display > routines from chm to text, here a small documentation > how to do that with the windows version of R. > > The windows installer asks which help type > you want to use, I wanted to test the chm > version -- which I didn't like. > > If you after installation want to switch back, > you have to edit > > << myRdirectory\etc\Rprofile.site >> > > and change the line > > options(chmhelp=TRUE) > > back to > > options(chmhelp=FALSE) > > It would be nice if -- in a future release -- this > also could be changed in the GUI settings.But it has nothing to do with the GUI preferences: it applies to the command-line version of R as well. What about ?help did you not understand? It says chmhelp = getOption("chmhelp"), ... chmhelp: logical (or 'NULL'). Only relevant under Windows. If 'TRUE' the Compiled HTML version of the help on the topic will be shown in a help viewer. so you need to set options(chmhelp=FALSE): it is up to you where you set it. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Hi All, I ma running R under windows with xemacs and ESS. The Rprofile.site options, somehow gets overridden by xemacs and my options in Rprofile.site are not taken into account while they are when I use Rgui. How can I specify my options if I am using xemacs? and what configuration file xemacs+ess use for R. Thanks AA ----- Original Message ---- From: Brian Ripley <ripley at stats.ox.ac.uk> To: Fridolin Wild <fridolin.wild at wu-wien.ac.at> Cc: r-help at stat.math.ethz.ch Sent: Tuesday, December 19, 2006 7:15:11 AM Subject: Re: [R] configure help On Tue, 19 Dec 2006, Fridolin Wild wrote:> > Hello, > > as I just spent a (too long) while searching > for a way how to persistantly switch back the help display > routines from chm to text, here a small documentation > how to do that with the windows version of R. > > The windows installer asks which help type > you want to use, I wanted to test the chm > version -- which I didn't like. > > If you after installation want to switch back, > you have to edit > > << myRdirectory\etc\Rprofile.site >> > > and change the line > > options(chmhelp=TRUE) > > back to > > options(chmhelp=FALSE) > > It would be nice if -- in a future release -- this > also could be changed in the GUI settings.But it has nothing to do with the GUI preferences: it applies to the command-line version of R as well. What about ?help did you not understand? It says chmhelp = getOption("chmhelp"), ... chmhelp: logical (or 'NULL'). Only relevant under Windows. If 'TRUE' the Compiled HTML version of the help on the topic will be shown in a help viewer. so you need to set options(chmhelp=FALSE): it is up to you where you set it. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ 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.
Thanks Prof. Ripley Your point about the ESS list is well taken. I did read the "initialization at the start of an R session" but could not figure out why some of the options are ignored in the Rprofile.site. But I found out that theses options are re-defined in init.el file in .xemacs directory which seems obvious now to me. Thanks again for your help. AA. ----- Original Message ---- From: Prof Brian Ripley <ripley at stats.ox.ac.uk> To: ahmad ajakh <aajakh at yahoo.com> Cc: Fridolin Wild <fridolin.wild at wu-wien.ac.at>; r-help at stat.math.ethz.ch Sent: Tuesday, December 19, 2006 5:38:18 PM Subject: Re: [R] configure help This is the wrong list for ESS questions, as both the FAQ and rw-FAQ point out. However, if you read ?Startup you will see that Rprofile.site is not necessarily read on startup (and this is why I gave a more careful answer to Fridolin, for his instructions are not generic). On Tue, 19 Dec 2006, ahmad ajakh wrote:> Hi All, > > I ma running R under windows with xemacs and ESS. > The Rprofile.site options, somehow gets overridden by xemacs and my options > in Rprofile.site are not taken into account while they are when I use Rgui. > How can I specify my options if I am using xemacs? and what configuration file > xemacs+ess use for R. > Thanks > AA > > ----- Original Message ---- > From: Brian Ripley <ripley at stats.ox.ac.uk> > To: Fridolin Wild <fridolin.wild at wu-wien.ac.at> > Cc: r-help at stat.math.ethz.ch > Sent: Tuesday, December 19, 2006 7:15:11 AM > Subject: Re: [R] configure help > > On Tue, 19 Dec 2006, Fridolin Wild wrote: > >> >> Hello, >> >> as I just spent a (too long) while searching >> for a way how to persistantly switch back the help display >> routines from chm to text, here a small documentation >> how to do that with the windows version of R. >> >> The windows installer asks which help type >> you want to use, I wanted to test the chm >> version -- which I didn't like. >> >> If you after installation want to switch back, >> you have to edit >> >> << myRdirectory\etc\Rprofile.site >> >> >> and change the line >> >> options(chmhelp=TRUE) >> >> back to >> >> options(chmhelp=FALSE) >> >> It would be nice if -- in a future release -- this >> also could be changed in the GUI settings. > > But it has nothing to do with the GUI preferences: it applies to the > command-line version of R as well. > > What about ?help did you not understand? It says > > chmhelp = getOption("chmhelp"), > ... > chmhelp: logical (or 'NULL'). Only relevant under Windows. If 'TRUE' > the Compiled HTML version of the help on the topic will be > shown in a help viewer. > > so you need to set options(chmhelp=FALSE): it is up to you where you set > it. > >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595