RSiteSearch(utils)
RSiteSearch()所属R语言包:utils
Search for Key Words or Phrases in the R-help Mailing List Archives or Documentation
搜索关键词或短语的R-帮助邮件列表档案或文件
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Search for key words or phrases in the R-help mailing list archives, help pages, vignettes or task views, using the search engine at http://search.r-project.org and view them in a web browser.
搜索关键词或词组在http://search.r-project.org的搜索引擎和网页浏览器中查看它们的R-帮助邮件列表档案,帮助页面,护身符或工作的意见。
用法----------Usage----------
RSiteSearch(string,
restrict = c("functions", "vignettes", "views"),
format = c("normal", "short"),
sortby = c("score", "date:late", "date:early",
"subject", "subject:descending",
"from", "from:descending",
"size", "size:descending"),
matchesPerPage = 20)
参数----------Arguments----------
参数:string
A character string specifying word(s) or a phrase to search. If the words are to be searched as one entity, enclose all words in braces (see the first example).
一个字符串,指定字(S)或短语进行搜索。如果将搜索作为一个实体的话是,括在括号中的所有单词(见第一个例子)。
参数:restrict
a character vector, typically of length greater than one. Possible areas to search in: Rhelp10 for R-help mailing list archive starting January 2010, Rhelp08 for mailing list archive 2008–2009, Rhelp02 for mailing list archive 2002–2007, Rhelp01 for mailing list archive before 2002, R-devel for R-devel mailing list, R-sig-mix for R-sig-mix mailing list, functions for help pages, views for task views and vignettes for package vignettes.
一个字符向量,通常长度大于一。可能的领域中搜索:Rhelp10R - 帮助邮件列表归档2010年1月起,Rhelp08邮件列表归档2008-2009,Rhelp02邮件列表归档2002-2007年,Rhelp01邮件列表归档在2002年之前,R-devel的R-devel邮件列表,R-sig-mix的R-SIG混合邮件列表,functions帮助页面,views工作的意见和vignettes包护身符。
参数:format
normal or short (no excerpts); can be abbreviated.
normal或short(没有节录);缩写。
参数:sortby
character string (can be abbreviated) indicating how to sort the search results:<br> (score, date:late for sorting by date with latest results first, date:early for earliest first, subject for subject in alphabetical order, subject:descending for reverse alphabetical order, from or from:descending for sender (when applicable), size or size:descending for size.)
字符串(可以缩写)说明如何排序的搜索结果:参考(score,date:late最新成果的日期排序第一,date:early最早的第一,subject在按字母顺序排列的主题subject:descending反向字母顺序排列的,from或from:descending发件人(适用时),size或size:descending大小。)
参数:matchesPerPage
How many items to show per page.
多少个每页显示的项目。
Details
详情----------Details----------
This function is designed to work with the search site at http://search.r-project.org, and depends on that site continuing to be made available (thanks to Jonathan Baron and the School of Arts and Sciences of the University of Pennsylvania).
此功能设计工作与在http://search.r-project.org的搜索网站,取决于继续作出(乔纳森男爵的感谢和宾夕法尼亚大学的艺术和科学学院的网站)。
Unique partial matches will work for all arguments. Each new browser window will stay open unless you close it.
独特的部分比赛将所有参数。每一个新的浏览器窗口将继续开放,除非你关闭它。
值----------Value----------
(Invisibly) the complete URL passed to the browser, including the query string.
(不可见)完整的URL传递给浏览器,包括查询字符串。
作者(S)----------Author(s)----------
Andy Liaw and Jonathan Baron
参见----------See Also----------
help.search, help.start for local searches.
help.search,help.start本地搜索。
browseURL for how the help file is displayed.
browseURL如何帮助文件显示。
举例----------Examples----------
RSiteSearch("{logistic regression}") # matches exact phrase[词组匹配]
Sys.sleep(5) # allow browser to open, take a quick look[让浏览器打开,快速浏览一下]
RSiteSearch("Baron Liaw", restrict = "Rhelp02")
## Search in R-devel archive and recent R-help (and store the query-string):[#搜索的R-与开发存档和最近的R-帮助(和存储,查询字符串):]
Sys.sleep(5)
fullquery <- RSiteSearch("S4", restrict = c("R-dev", "Rhelp10", "Rhelp08"))
fullquery # a string of ~ 116 characters[〜116个字符的字符串]
## the latest purported bug reports, responses ...[#的本意是最新的bug报告,响应...]
Sys.sleep(5)
RSiteSearch("bug", restrict = "R-devel", sortby = "date:late")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|