The R Project SVN R

Rev

Rev 10479 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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