Re: [R] how to change default help settings from factory default html

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Mon, 14 Jun 2010 14:37:40 +0100 (BST)

On Mon, 14 Jun 2010, Katya Mauff wrote:

> Hi all
>
> Apologies if this is a trivial question- I have searched the lists
> and the online help files etc but have not managed to find anything.
> I recently downloaded the latest version of R, which has the help
> type set to htmlhelp as default (according to
> http://127.0.0.1:18380/library/utils/html/help.html)

Not so for the latest R (2.11.1) compiled with the default settings. The help(help) page in 2.11.1 actually says

      The ¡factory-fresh¢ default is text help except from the Mac OS
      GUI, which uses HTML help displayed in its own browser window.

However, the Windows installer allows you to set the default type of help, and its default is HTML help in R >= 2.10.0.

> I would very much like to be able to access the help files when I am
> offline by typing ?topic etc as I used to with the previous R
> version. Any suggestions?

You should be able to use HTML help offline: it is running locally on your machine (127.0.0.1 is the loopback interface). (It is conceivable that your unstated OS disables the loopback interface when 'offline', but we have not come across an instance of this.)

But ?help tells you how select other forms of help by default via

           help_type = getOption("help_type"))

and ?'?' says

      This is a shortcut to ¡help¢ and uses its default type of help.

>
> Thanks
> Katya
>
>
>
>
> ###
> UNIVERSITY OF CAPE TOWN
>
> This e-mail is subject to the UCT ICT policies and e-mail disclaimer published on our website at http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable from +27 21 650 4500. This e-mail is intended only for the person(s) to whom it is addressed. If the e-mail has reached you in error, please notify the author. If you are not the intended recipient of the e-mail you may not use, disclose, copy, redirect or print the content. If this e-mail is not related to the business of UCT it is sent by the sender in the sender's individual capacity.
>
> ###
>
>
> ______________________________________________
> R-help_at_r-project.org 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.
>

-- 
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_r-project.org 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.

Received on Mon 14 Jun 2010 - 13:39:49 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 14 Jun 2010 - 13:40:30 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive