From murdoch.duncan at gmail.com  Mon Aug  1 00:57:38 2011
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Sun, 31 Jul 2011 18:57:38 -0400
Subject: [Rd] Front ends handling help.search() results?
In-Reply-To: <CAFDcVCSqET-X08R-kf-ZZbaEYa1YAtG55M0Lg7iyfd6cYhdcFg@mail.gmail.com>
References: <4E32F7E3.4080604@gmail.com>
	<CAFDcVCSqET-X08R-kf-ZZbaEYa1YAtG55M0Lg7iyfd6cYhdcFg@mail.gmail.com>
Message-ID: <4E35DDE2.7080903@gmail.com>

On 11-07-31 12:32 PM, Henrik Bengtsson wrote:
> The R.rsp package has a proof of concept page:
>
> 1. library("R.rsp")
> 2. browseRsp(path="/R/help/")
> 3. At the bottom, there is a "help.search" form.  Type in search term,
> e.g. "svd".
>
> This is all web browser based, so it should be able to handle compiled
> vignettes (as long as there are valid paths/URL paths).

help.search() won't give the paths.  You can get those from the 
vignette() function, or by reading the <pkg>/Meta/vignette.rds database.

There will be code in R-devel to do this that you could copy, once I 
commit (maybe tonight).

Duncan Murdoch



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