From murdoch.duncan at gmail.com  Wed Aug  3 14:57:44 2011
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Wed, 03 Aug 2011 08:57:44 -0400
Subject: [Rd] Front ends handling help.search() results?
In-Reply-To: <201108031132.45533.thomas.friedrichsmeier@ruhr-uni-bochum.de>
References: <4E32F7E3.4080604@gmail.com>
	<201107311634.55821.thomas.friedrichsmeier@ruhr-uni-bochum.de>
	<4E369624.7090208@gmail.com>
	<201108031132.45533.thomas.friedrichsmeier@ruhr-uni-bochum.de>
Message-ID: <4E3945C8.8030003@gmail.com>

On 03/08/2011 5:32 AM, Thomas Friedrichsmeier wrote:
> On Monday 01 August 2011, Duncan Murdoch wrote:
> >  I've just committed the changes to R-devel.  Let me know if there is
> >  anything worse than what I described.
>
> Well, you did not give detail on that, but I was surprised about the "topic"
> field for vignettes. Here (on a Debian/Linux system), for some vignettes,
> "topic" contains a file path, which - I guess - may have been used during
> installation of the package, but is no longer present on my system. E.g:
>
>    topic
>    "/tmp/RtmpMQhWJi/R.INSTALL494a2adb/AnnotationDbi/inst/doc/AnnotationDbi"
>    title
>    "AnnotationDbi: How to use the \".db\" annotation packages"
>    Package
>    "AnnotationDbi"
>
> I would expect the "topic" field to always contain a string suitable for use as
> the "topic" parameter in vignette(). For some other vignettes() found by
> help.search() this is is working. I did not figure out a pattern, so far.
>
> Besides that, while testing, I found that the dynamic help fails to display
> the result of
>    help.search ("grid")
> with this message:
>    Error in .HTMLsearch(query) :
>    number of items to replace is not a multiple of replacement length
> I note that in the matches of that query, several vignettes are listed twice.
> This probably indicates a problem in my installation, but may still be worth
> fixing.

Thanks, I'll take a look at those.

Duncan



[Rd] Front ends handling help.search() results?
Duncan Murdoch