[R] configure help

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Dec 19 23:38:18 CET 2006


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



More information about the R-help mailing list