[Rd] help.search() in html?
murdoch.duncan at gmail.com
Wed Feb 15 16:17:36 CET 2012
On 15/02/2012 8:03 AM, hkawakat at gmail.com wrote:
> I have options(help_type="html") in my .Rprofile and when I type
> ?foo, the man page appears as a new tab in my web browser (which is
> already running). Fine. However, when I type ??foo, rather than the
> results appearing in a new tab, a new instance of the web browser is
> spawned with the default homepage displayed. Same with
> help.search("foo"). Am I the only one seeing this? Is there some
> setting/option that I am missing?
> (At the moment, I bring up a man page via ?foo and then manually
> follow the<Index> link at the bottom of the page to go up to the
> search engine page.) R --vanilla shows the results of ??foo in the
> terminal window as expected.
I just tried it on Windows, and got this error message in R-devel:
starting httpd help server ... done
Error in shell.exec(url) :
'http://127.0.0.1: 13432 /doc/html/Search?pattern= mean '
Looks like some spaces have crept into the URL. I'll take a look.
(R-patched was fine.)
> I am running
> > sessionInfo()
> R Under development (unstable) (2012-02-13 r58337)
> Platform: x86_64-unknown-linux-gnu (64-bit)
>  LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C
>  LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8
>  LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8
>  LC_PAPER=C LC_NAME=C
>  LC_ADDRESS=C LC_TELEPHONE=C
>  LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C
> attached base packages:
>  stats graphics grDevices utils datasets methods base
> loaded via a namespace (and not attached):
>  tools_2.15.0
More information about the R-devel