Skip to content
Prev 32559 / 63424 Next

proposed changes to RSiteSearch

Jonathan Baron wrote:
I would tend to prefer #1 so that the functionality can incubate in a 
separate package, and then when it is mature enough, we can make a call 
about what to do with it.

Something like this:
- a generic abstract function that sets up the interface to query a 
search engine.

- implementations of this, here are what I can think of:
+ jon's RSiteSearch for help pages
+ r graphical manuals
+ gmane, markmail for mail archives
+ classic help.search
+ R news (not clear how to do this right now)
+ vignettes (not clear how to do this right now)
+ JSS articles (not clear how to this right now)
+ FAQ (not clear how to this right now)
+ ... add your own by simply register your implementation

The point about having some sort of central generic function is that it 
can be responsible for asking all engines and bring all results back in 
a single format.

This somehow duplicates work I have been doing with the rsitesearch 
firefox extension, but doing it in R has several advantages.

This I think is enough design to be a separate package.

I am not sure what are the requirements for a package to be shipped with 
the distribution of R (QA, documentation, ...), but I am sure whoever 
steps me (maybe me) can make it compliant.

There is precedent for functionality that was in a package and was 
merged into utils afterwards (rcompgen), but I think it was included 
because this was necessary, don't think these search engines __have__ to 
be in utils.

  
    

Thread (26 messages)

Liaw, Andy proposed changes to RSiteSearch May 7 Jonathan Baron proposed changes to RSiteSearch May 7 Liaw, Andy proposed changes to RSiteSearch May 7 Liaw, Andy proposed changes to RSiteSearch May 7 Duncan Murdoch proposed changes to RSiteSearch May 7 Liaw, Andy proposed changes to RSiteSearch May 7 Romain Francois proposed changes to RSiteSearch May 7 Jonathan Baron proposed changes to RSiteSearch May 7 Liaw, Andy proposed changes to RSiteSearch May 7 Romain Francois proposed changes to RSiteSearch May 7 Jonathan Baron proposed changes to RSiteSearch May 7 Liaw, Andy proposed changes to RSiteSearch May 7 Gabor Grothendieck proposed changes to RSiteSearch May 7 Liviu Andronic proposed changes to RSiteSearch May 7 Spencer Graves proposed changes to RSiteSearch May 7 Wacek Kusnierczyk proposed changes to RSiteSearch May 8 Jonathan Baron proposed changes to RSiteSearch May 8 Romain Francois proposed changes to RSiteSearch May 8 Philippe GROSJEAN proposed changes to RSiteSearch May 8 Romain Francois proposed changes to RSiteSearch May 8 Romain Francois proposed changes to RSiteSearch May 8 Hadley Wickham proposed changes to RSiteSearch May 8 Philippe GROSJEAN proposed changes to RSiteSearch May 8 Wacek Kusnierczyk proposed changes to RSiteSearch May 8 Wacek Kusnierczyk proposed changes to RSiteSearch May 8 Romain Francois proposed changes to RSiteSearch May 8