[R] R-(wiki)-pedia?

David Forrest drf5n at maplepark.com
Fri Oct 8 21:15:05 CEST 2004


On Fri, 8 Oct 2004, Barry Rowlingson wrote:

> Here's a function for searching the Rwiki from R:
>
> rwiki.search <- function(string){
>
>    RwikiURL="http://fawn.unibw-hamburg.de/cgi-bin/Rwiki.pl"
>    RwikiSearchURL=paste(RwikiURL(),"?search=",string,sep='')
>    browseURL(RwikiSearchURL)
>
>    return(invisible(0))
> }
>

Hmm, that's nice.

>
> Then you can do rwiki.search("gabor") and the results pop up in your
> browser.
>
> Perhaps we need some more documentation-getting functions in R, such as
> this, something to search the mailing list archives, and maybe a
> readPostingGuide() function...
>
> Or is this spoonfeeding too much, and people should be able to go to a
> web page and stick something in the search box?

Some people need spoonfeeding, and sometimes its nice to be able to do
things more than one way.


rwiki.search('SearchFunctions')

help.search.archive<-function(string){
   RURL="http://www.google.com/u/newcastlemaths"
   RSearchURL=paste(RURL,"?q=",string,sep='')
   browseURL(RSearchURL)
   return(invisible(0))
 }

help.search.archive('wiki')

Dave
-- 
 Dave Forrest
 drf at vims.edu                                    (804)684-7900w
 drf5n at maplepark.com                             (804)642-0662h
                                   http://maplepark.com/~drf5n/




More information about the R-help mailing list