--- RSiteSearch.Rd 2009-04-18 03:28:08.000000000 -0400 +++ /home/liawand/RSiteSearch.Rd 2009-05-07 09:54:02.000000000 -0400 @@ -6,17 +6,15 @@ \name{RSiteSearch} \alias{RSiteSearch} \title{ - Search for Key Words or Phrases in the R-help Mailing List Archives - or Documentation + Search for Key Words or Phrases in the function help pages } \description{ - Search for key words or phrases in the R-help mailing list - archives, or \R manuals and help pages, using the search engine at - \url{http://search.r-project.org} and view them in a web browser. + Search for key words or phrases in the function help pages, using the + search engine at \url{http://search.r-project.org} and view them in a + web browser. } \usage{ RSiteSearch(string, - restrict = c("Rhelp02a", "functions", "docs"), format = c("normal", "short"), sortby = c("score", "date:late", "date:early", "subject", "subject:descending", @@ -27,14 +25,6 @@ \arguments{ \item{string}{word(s) or phrase to search. If the words are to be searched as one entity, enclose all words in braces (see example).} - \item{restrict}{a character vector, typically of length larger than one: - What areas to search in: - \code{Rhelp02a} for R-help mailing list archive since 2002, - \code{Rhelp01} for mailing list archive before 2002, - \code{docs} for R manuals, - \code{functions} for help pages. - \code{R-devel} for R-devel mailing list. - Use \code{c()} to specify more than one.} \item{format}{\code{normal} or \code{short} (no excerpts); can be abbreviated.} \item{sortby}{character string (can be abbreviated) indicating how to @@ -60,6 +50,11 @@ Unique partial matches will work for all arguments. Each new browser window will stay open unless you close it. + + Mailing lists may be searched at several other sites, including + \url{http://tolstoy.newcastle.edu.au/R/}, and + \url{http://markmail.org/search/list:r-project}. See + \url{http://search.r-project.org} for a full list. } \author{Andy Liaw and Jonathan Baron} \seealso{ @@ -70,15 +65,8 @@ \examples{\donttest{ # need Internet connection RSiteSearch("{logistic regression}") # matches exact phrase Sys.sleep(5) # allow browser to open, take a quick look -RSiteSearch("Baron Liaw", restrict = "Rhelp02a") -## Search in R-devel archive and documents (and store the query-string): -Sys.sleep(5) -fullquery <- RSiteSearch("S4", restrict = c("R-dev", "docs")) +fullquery <- RSiteSearch("S4", sortby = "date:late") fullquery # a string of ~ 116 characters -## the latest purported bug reports, responses ... -%% FIXME: "/bug/ and other reg.exp.s seem to fail -Sys.sleep(5) -RSiteSearch("bug", restrict = "R-devel", sortby = "date:late") }} \keyword{utilities} \keyword{documentation}