| 8090 |
leisch |
1 |
<html>
|
|
|
2 |
<head>
|
|
|
3 |
<title>R: Search Engine</title>
|
| 10479 |
ripley |
4 |
<link rel="stylesheet" type="text/css" href="../R.css">
|
| 8090 |
leisch |
5 |
|
|
|
6 |
<script language="JavaScript">
|
|
|
7 |
<!--
|
|
|
8 |
|
|
|
9 |
// searching is disabled until the applet is initialized
|
|
|
10 |
enableSearch = false;
|
|
|
11 |
|
|
|
12 |
function searchInIndex (searchTerm, searchDesc,
|
|
|
13 |
searchKeywords, searchAliases)
|
|
|
14 |
{
|
|
|
15 |
// if the applet is not initialized, ignore search results
|
|
|
16 |
if (enableSearch == false) {
|
|
|
17 |
return "";
|
|
|
18 |
}
|
|
|
19 |
line = '<html><head>\n';
|
|
|
20 |
line = line + '<title>Search Results</title>\n';
|
|
|
21 |
line = line + '<link rel=stylesheet type="text/css" href="../R.css">';
|
|
|
22 |
line = line + '\n';
|
|
|
23 |
|
|
|
24 |
line = line + '<body>\n';
|
|
|
25 |
|
|
|
26 |
line = line + '<h1>Search Results</h1>\n';
|
|
|
27 |
|
|
|
28 |
// call the applet code!
|
|
|
29 |
line = line + document.SearchEngine.search (searchTerm,
|
|
|
30 |
searchDesc=="1",
|
|
|
31 |
searchKeywords=="1",
|
|
|
32 |
searchAliases=="1");
|
|
|
33 |
|
|
|
34 |
line = line + '</body>\n';
|
|
|
35 |
|
|
|
36 |
document.write (line);
|
|
|
37 |
|
|
|
38 |
// this makes it all work as expected, stops loading and after following
|
|
|
39 |
// a link the search results will be displayed again.
|
|
|
40 |
document.close ();
|
|
|
41 |
return "";
|
|
|
42 |
}
|
|
|
43 |
//-->
|
|
|
44 |
|
|
|
45 |
</script>
|
|
|
46 |
</head>
|
|
|
47 |
|
|
|
48 |
<body onLoad='enableSearch=true;'>
|
|
|
49 |
|
| 10479 |
ripley |
50 |
<h1>Search Engine <img class=toplogo src="../logo.jpg"></h1>
|
| 8090 |
leisch |
51 |
|
| 10479 |
ripley |
52 |
<hr width="100%">
|
| 8090 |
leisch |
53 |
|
|
|
54 |
<h2>Search</h2>
|
|
|
55 |
|
|
|
56 |
<p>
|
|
|
57 |
You can search for keywords, function and data names and text in help
|
|
|
58 |
page titles.
|
|
|
59 |
|
|
|
60 |
<p>
|
|
|
61 |
<b>Usage:</b> Enter a string in the text field below and hit
|
|
|
62 |
<code>RETURN</code>.
|
|
|
63 |
|
|
|
64 |
<form name="f"
|
|
|
65 |
onSubmit="searchInIndex (document.f.SEARCHTERM.value,
|
|
|
66 |
document.f.TITLES.checked,
|
|
|
67 |
document.f.KEYWORDS.checked,
|
|
|
68 |
document.f.ALIASES.checked);
|
|
|
69 |
return false;">
|
|
|
70 |
<INPUT TYPE=TEXT NAME="SEARCHTERM" SIZE=20 MAXLENGTH=256 VALUE="">
|
|
|
71 |
<INPUT NAME="TITLES" TYPE=CHECKBOX CHECKED VALUE="1"> Help page titles
|
|
|
72 |
<INPUT NAME="KEYWORDS" TYPE=CHECKBOX CHECKED VALUE="1"> Keywords
|
|
|
73 |
<INPUT NAME="ALIASES" TYPE=CHECKBOX CHECKED VALUE="1"> Object names<br>
|
|
|
74 |
<INPUT VALUE="Search" TYPE=SUBMIT>
|
|
|
75 |
<INPUT VALUE="Reset" TYPE=RESET>
|
|
|
76 |
</form>
|
|
|
77 |
|
| 28168 |
ripley |
78 |
<br>
|
| 8090 |
leisch |
79 |
|
| 28168 |
ripley |
80 |
<p> For search to work, you need Java installed and both Java and
|
|
|
81 |
JavaScript enabled in your browser.<br> On the Mozilla/Netscape family
|
|
|
82 |
of browsers you should see `Applet SearchEngine started' at the left
|
|
|
83 |
edge of the status bar.</p>
|
|
|
84 |
|
|
|
85 |
<p> Even if this search does not work on your system, you can always use
|
|
|
86 |
<samp>help.search</samp> at the R prompt.
|
|
|
87 |
|
| 10479 |
ripley |
88 |
<hr width="100%">
|
| 8090 |
leisch |
89 |
|
|
|
90 |
<p>
|
|
|
91 |
<h2>Keywords</h2>
|
|
|
92 |
|
|
|
93 |
<p>
|
|
|
94 |
<h3>Keywords by Topic</h3>
|
|
|
95 |
|
|
|
96 |
|