[R] adding R site search to Rgui

Gabor Grothendieck ggrothendieck at gmail.com
Tue Apr 12 06:25:12 CEST 2005


On Apr 11, 2005 10:39 PM, Liaw, Andy <andy_liaw at merck.com> wrote:
> From: Gabor Grothendieck
> 
> > On Apr 11, 2005 11:28 AM, Martin Maechler <maechler at stat.math.ethz.ch>
> wrote:
> > >
> > > If you use R 2.1.0 beta  (which you should consider seriously as
> > > a good netizen ;-),  this is as simple as
> > >
> > >  > RSiteSearch("String manipulation---mixed case")
> > >  A search query has been submitted to http://search.r-project.org
> > >  The results page should open in your browser shortly
> >
> > It would be nice if RSiteSearch were an entry in the Help menu
> > in the Windows GUI.
> 
> One can easily add another menu (and menu item) for this in Rgui:
> 
> winSearch <- function() {
>    string <- winDialogString("Search string", "")
>    RSiteSearch(string)
> }
> 
> winMenuAdd("Search")
> winMenuAddItem("Search", "Search R Site", "winSearch()")
> 

Thanks.  It would be nice if it came like that out-of-the-box.




More information about the R-help mailing list