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 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. -- +--- | Hiroyuki Kawakatsu | Business School, Dublin City University | Dublin 9, Ireland. Tel +353 (0)1 700 7496
On 15/02/2012 8:03 AM, hkawakat at 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.
Fixed now on my system and committed as r58351. It was simply a typo in some housekeeping changes made in December, where paste(..., sep="") was replaced by paste0(...). Duncan Murdoch On 15/02/2012 8:03 AM, hkawakat at 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 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.
On Wed, Feb 15, 2012, Duncan Murdoch wrote:> Fixed now on my system and committed as r58351. ?It was simply a typo in > some housekeeping changes made in December, where > paste(..., sep="") was replaced by paste0(...).Many thanks for your swift attention and fix. I can confirm the fix on my machine with r58354. h. -- +--- | Hiroyuki Kawakatsu | Business School, Dublin City University | Dublin 9, Ireland. Tel +353 (0)1 700 7496