[R] open help files from Terminal

Sarah Goslee @@r@h@go@|ee @end|ng |rom gm@||@com
Thu Jun 7 17:39:48 CEST 2018


Here are two options:

> # for one occurrence
> help("help", help_type="html")
starting httpd help server ... done
>
> # to set the default for your R session
> options(help_type = "html")
> ?help

If you read the help file for help(), you will see all the possibilities.

Sarah

On Thu, Jun 7, 2018 at 11:21 AM, Dmitri Popavenko
<dmitri.popavenko using gmail.com> wrote:
> Dear R users,
>
> I am sometimes using R from a Terminal (either from Linux but most often on
> MacOS).
> When looking at a help file using the question mark (e.g. ?sd) the help
> file opens in the Terminal itself.
>
> If possible, I would like to open the HTML version of the help file in a
> webpage, but I am completely unaware of how this might be done.
>
> If anyone has a suggestion, I would be very grateful.
>
> Best,
> Dmitri

-- 
Sarah Goslee
http://www.functionaldiversity.org




More information about the R-help mailing list