[R] RSiteSearch for words ``as one entity''.

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Sep 10 23:32:47 CEST 2008


On Wed, 10 Sep 2008, Henrik Bengtsson wrote:

> Seems that one of the slashed is dropped after the protocol prefix,
> i.e. http:/search.r-project.org/... should be
> http://search.r-project.org/...  Someone else has to take it from
> here.
>
> /Henrik
>
>
>
> On Wed, Sep 10, 2008 at 2:03 PM, Rolf Turner <r.turner at auckland.ac.nz> wrote:
>>
>> I tried to search for a string of words ``as one entity'' following the
>> example in the help file:
>>
>>> RSiteSearch("{logistic regression}")
>>
>> and got the error message:
>>
>> 2008-09-11 08:55:41.356 open[823] No such file:
>> /Users/rturner/http:/search.r-project.org/cgi-bin/namazu.cgi?query={logistic+regression}&max=20&result=normal&sort=score&idxname=Rhelp02a&idxname=functions&idxname=docs

That's not much like what I get on Mac OS (10.5.4, from the command line), 
where it works for me, as it does on Windows, Linux and Solaris.

I get

/usr/bin/open 
"http://search.r-project.org/cgi-bin/namazu.cgi?query={logistic+regression}&max=20&result=normal&sort=score&idxname=Rhelp02a&idxname=functions&idxname=docs"

(on one line).  Something has messed up the query, and debug(browseURL) or 
debug(RSiteSearch) might help track down what.

>> My session info is:
>>
>>> sessionInfo()
>> R version 2.7.2 (2008-08-25)
>> i386-apple-darwin8.11.1
>>
>> locale:
>> C
>>
>> attached base packages:
>> [1] datasets  utils     stats     graphics  grDevices methods   base
>>
>> other attached packages:
>> [1] misc_0.0-6     fortunes_1.3-5 MASS_7.2-44
>>
>> loaded via a namespace (and not attached):
>> [1] tools_2.7.2
>>
>> Is this a Mac-only issue, or does it happen elsewise?  What if anything can
>> I do
>> about it?

Ask on R-sig-mac?

>>        cheers,
>>
>>                Rolf Turner


-- 
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



More information about the R-help mailing list