On 15/02/2012 8:03 AM, hkawa...@gmail.com wrote:
Hi,

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:

> options(help_type="html")
> ??mean
starting httpd help server ... done
Error in shell.exec(url) :
'http://127.0.0.1: 13432 /doc/html/Search?pattern= mean ' not found

Looks like some spaces have crept into the URL. I'll take a look. (R-patched was fine.)

Duncan Murdoch

I am running
>  sessionInfo()
R Under development (unstable) (2012-02-13 r58337)
Platform: x86_64-unknown-linux-gnu (64-bit)

locale:
  [1] LC_CTYPE=en_GB.UTF-8       LC_NUMERIC=C
  [3] LC_TIME=en_GB.UTF-8        LC_COLLATE=en_GB.UTF-8
  [5] LC_MONETARY=en_GB.UTF-8    LC_MESSAGES=en_GB.UTF-8
  [7] LC_PAPER=C                 LC_NAME=C
  [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] tools_2.15.0

h.

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to