The R Project SVN R

Rev

Rev 52277 | Rev 52288 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 52277 Rev 52285
Line 1... Line 1...
1
 
1
 
2
R version 2.12.0 Under development (unstable) (2010-06-14 r52274)
2
R version 2.12.0 Under development (unstable) (2010-06-14 r52274)
3
Copyright (C) 2010 The R Foundation for Statistical Computing
3
Copyright (C) 2010 The R Foundation for Statistical Computing
4
ISBN 3-900051-07-0
4
ISBN 3-900051-07-0
5
Platform: i386-pc-mingw32/i386 (32-bit)
5
Platform: i386-pc-mingw32/i386 (32-bit)
6
 
6
 
7
R is free software and comes with ABSOLUTELY NO WARRANTY.
7
R is free software and comes with ABSOLUTELY NO WARRANTY.
8
You are welcome to redistribute it under certain conditions.
8
You are welcome to redistribute it under certain conditions.
9
Type 'license()' or 'licence()' for distribution details.
9
Type 'license()' or 'licence()' for distribution details.
10
 
10
 
11
  Natural language support but running in an English locale
11
  Natural language support but running in an English locale
12
 
12
 
13
R is a collaborative project with many contributors.
13
R is a collaborative project with many contributors.
14
Type 'contributors()' for more information and
14
Type 'contributors()' for more information and
15
'citation()' on how to cite R or R packages in publications.
15
'citation()' on how to cite R or R packages in publications.
16
 
16
 
17
Type 'demo()' for some demos, 'help()' for on-line help, or
17
Type 'demo()' for some demos, 'help()' for on-line help, or
18
'help.start()' for an HTML browser interface to help.
18
'help.start()' for an HTML browser interface to help.
19
Type 'q()' to quit R.
19
Type 'q()' to quit R.
20
 
20
 
21
> pkgname <- "tools"
21
> pkgname <- "tools"
22
> source(file.path(R.home("share"), "R", "examples-header.R"))
22
> source(file.path(R.home("share"), "R", "examples-header.R"))
23
> options(warn = 1)
23
> options(warn = 1)
24
> options(pager = "console")
24
> library('tools')
25
> library('tools')
25
> 
26
> 
26
> assign(".oldSearch", search(), pos = 'CheckExEnv')
27
> assign(".oldSearch", search(), pos = 'CheckExEnv')
27
> cleanEx()
28
> cleanEx()
28
> nameEx("HTMLheader")
29
> nameEx("HTMLheader")
29
> ### * HTMLheader
30
> ### * HTMLheader
30
> 
31
> 
31
> flush(stderr()); flush(stdout())
32
> flush(stderr()); flush(stdout())
32
> 
33
> 
33
> ### Name: HTMLheader
34
> ### Name: HTMLheader
34
> ### Title: Generate a standard HTML header for R help.
35
> ### Title: Generate a standard HTML header for R help.
35
> ### Aliases: HTMLheader
36
> ### Aliases: HTMLheader
36
> ### Keywords: utilities documentation
37
> ### Keywords: utilities documentation
37
> 
38
> 
38
> ### ** Examples
39
> ### ** Examples
39
> 
40
> 
40
> cat(HTMLheader("This is a sample header"), sep="\n")
41
> cat(HTMLheader("This is a sample header"), sep="\n")
41
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
42
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
42
<html><head><title>R: This is a sample header</title>
43
<html><head><title>R: This is a sample header</title>
43
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
44
<link rel="stylesheet" type="text/css" href="/doc/html/R.css">
45
<link rel="stylesheet" type="text/css" href="/doc/html/R.css">
45
</head><body>
46
</head><body>
46
<h1> This is a sample header
47
<h1> This is a sample header
47
<img class="toplogo" src="/doc/html/logo.jpg" alt="[R logo]"></h1>
48
<img class="toplogo" src="/doc/html/logo.jpg" alt="[R logo]"></h1>
48
</h1>
49
</h1>
49
<hr>
50
<hr>
50
<div align="center">
51
<div align="center">
51
<a href="/doc/html/index.html"><img src="/doc/html/up.jpg" alt="[Top]" width="30" height="30" border="0"></a>
52
<a href="/doc/html/index.html"><img src="/doc/html/up.jpg" alt="[Top]" width="30" height="30" border="0"></a>
52
</div>
53
</div>
53
> 
54
> 
54
> 
55
> 
55
> 
56
> 
56
> cleanEx()
57
> cleanEx()
57
> nameEx("Rd2HTML")
58
> nameEx("Rd2HTML")
58
> ### * Rd2HTML
59
> ### * Rd2HTML
59
> 
60
> 
60
> flush(stderr()); flush(stdout())
61
> flush(stderr()); flush(stdout())
61
> 
62
> 
62
> ### Name: Rd2HTML
63
> ### Name: Rd2HTML
63
> ### Title: Rd Converters
64
> ### Title: Rd Converters
64
> ### Aliases: Rd2txt Rd2HTML Rd2ex Rd2latex
65
> ### Aliases: Rd2txt Rd2HTML Rd2ex Rd2latex
65
> ### Keywords: documentation
66
> ### Keywords: documentation
66
> 
67
> 
67
> ### ** Examples
68
> ### ** Examples
68
> cleanEx()
69
> cleanEx()
69
> nameEx("Rd2txt_options")
70
> nameEx("Rd2txt_options")
70
> ### * Rd2txt_options
71
> ### * Rd2txt_options
71
> 
72
> 
72
> flush(stderr()); flush(stdout())
73
> flush(stderr()); flush(stdout())
73
> 
74
> 
74
> ### Name: Rd2txt_options
75
> ### Name: Rd2txt_options
75
> ### Title: Set formatting options for text help.
76
> ### Title: Set formatting options for text help.
76
> ### Aliases: Rd2txt_options
77
> ### Aliases: Rd2txt_options
77
> ### Keywords: documentation
78
> ### Keywords: documentation
78
> 
79
> 
79
> ### ** Examples
80
> ### ** Examples
80
> 
81
> 
81
> saveOpts <- Rd2txt_options()
82
> saveOpts <- Rd2txt_options()
82
> saveOpts
83
> saveOpts
83
$width
84
$width
84
[1] 80
85
[1] 80
85
 
86
 
86
$minIndent
87
$minIndent
87
[1] 10
88
[1] 10
88
 
89
 
89
$extraIndent
90
$extraIndent
90
[1] 4
91
[1] 4
91
 
92
 
92
$sectionIndent
93
$sectionIndent
93
[1] 5
94
[1] 5
94
 
95
 
95
$sectionExtra
96
$sectionExtra
96
[1] 2
97
[1] 2
97
 
98
 
98
$itemBullet
99
$itemBullet
99
[1] "* "
100
[1] "* "
100
 
101
 
101
$enumFormat
102
$enumFormat
102
function (n) 
103
function (n) 
103
sprintf("%d. ", n)
104
sprintf("%d. ", n)
104
<environment: 01d8157c>
105
<environment: 01d8157c>
105
 
106
 
106
$showURLs
107
$showURLs
107
[1] FALSE
108
[1] FALSE
108
 
109
 
109
> Rd2txt_options(minIndent=4)
110
> Rd2txt_options(minIndent=4)
110
> Rd2txt_options()
111
> Rd2txt_options()
111
$width
112
$width
112
[1] 80
113
[1] 80
113
 
114
 
114
$minIndent
115
$minIndent
115
[1] 4
116
[1] 4
116
 
117
 
117
$extraIndent
118
$extraIndent
118
[1] 4
119
[1] 4
119
 
120
 
120
$sectionIndent
121
$sectionIndent
121
[1] 5
122
[1] 5
122
 
123
 
123
$sectionExtra
124
$sectionExtra
124
[1] 2
125
[1] 2
125
 
126
 
126
$itemBullet
127
$itemBullet
127
[1] "* "
128
[1] "* "
128
 
129
 
129
$enumFormat
130
$enumFormat
130
function (n) 
131
function (n) 
131
sprintf("%d. ", n)
132
sprintf("%d. ", n)
132
<environment: 01d8157c>
133
<environment: 01d8157c>
133
 
134
 
134
$showURLs
135
$showURLs
135
[1] FALSE
136
[1] FALSE
136
 
137
 
137
> Rd2txt_options(saveOpts)
138
> Rd2txt_options(saveOpts)
138
> Rd2txt_options()
139
> Rd2txt_options()
139
$width
140
$width
140
[1] 80
141
[1] 80
141
 
142
 
142
$minIndent
143
$minIndent
143
[1] 10
144
[1] 10
144
 
145
 
145
$extraIndent
146
$extraIndent
146
[1] 4
147
[1] 4
147
 
148
 
148
$sectionIndent
149
$sectionIndent
149
[1] 5
150
[1] 5
150
 
151
 
151
$sectionExtra
152
$sectionExtra
152
[1] 2
153
[1] 2
153
 
154
 
154
$itemBullet
155
$itemBullet
155
[1] "* "
156
[1] "* "
156
 
157
 
157
$enumFormat
158
$enumFormat
158
function (n) 
159
function (n) 
159
sprintf("%d. ", n)
160
sprintf("%d. ", n)
160
<environment: 01d8157c>
161
<environment: 01d8157c>
161
 
162
 
162
$showURLs
163
$showURLs
163
[1] FALSE
164
[1] FALSE
164
 
165
 
165
> 
166
> 
166
> 
167
> 
167
> 
168
> 
168
> cleanEx()
169
> cleanEx()
169
> nameEx("Rdutils")
170
> nameEx("Rdutils")
170
> ### * Rdutils
171
> ### * Rdutils
171
> 
172
> 
172
> flush(stderr()); flush(stdout())
173
> flush(stderr()); flush(stdout())
173
> 
174
> 
174
> ### Name: Rdutils
175
> ### Name: Rdutils
175
> ### Title: Rd Utilities
176
> ### Title: Rd Utilities
176
> ### Aliases: Rd_db
177
> ### Aliases: Rd_db
177
> ### Keywords: utilities documentation
178
> ### Keywords: utilities documentation
178
> 
179
> 
179
> ### ** Examples
180
> ### ** Examples
180
> 
181
> 
181
> 
182
> 
182
> cleanEx()
183
> cleanEx()
183
> nameEx("charsets")
184
> nameEx("charsets")
184
> ### * charsets
185
> ### * charsets
185
> 
186
> 
186
> flush(stderr()); flush(stdout())
187
> flush(stderr()); flush(stdout())
187
> 
188
> 
188
> ### Name: charsets
189
> ### Name: charsets
189
> ### Title: Conversion Tables between Character Sets
190
> ### Title: Conversion Tables between Character Sets
190
> ### Aliases: Adobe_glyphs charset_to_Unicode
191
> ### Aliases: Adobe_glyphs charset_to_Unicode
191
> ### Keywords: datasets
192
> ### Keywords: datasets
192
> 
193
> 
193
> ### ** Examples
194
> ### ** Examples
194
> 
195
> 
195
> ## find Adobe names for ISOLatin2 chars.
196
> ## find Adobe names for ISOLatin2 chars.
196
> latin2 <- charset_to_Unicode[, "ISOLatin2"]
197
> latin2 <- charset_to_Unicode[, "ISOLatin2"]
197
> aUnicode <- as.numeric(paste("0x", Adobe_glyphs$unicode, sep=""))
198
> aUnicode <- as.numeric(paste("0x", Adobe_glyphs$unicode, sep=""))
198
> keep <- aUnicode %in% latin2
199
> keep <- aUnicode %in% latin2
199
> aUnicode <- aUnicode[keep]
200
> aUnicode <- aUnicode[keep]
200
> aAdobe <- Adobe_glyphs[keep, 1]
201
> aAdobe <- Adobe_glyphs[keep, 1]
201
> ## first match
202
> ## first match
202
> aLatin2 <- aAdobe[match(latin2, aUnicode)]
203
> aLatin2 <- aAdobe[match(latin2, aUnicode)]
203
> ## all matches
204
> ## all matches
204
> bLatin2 <- lapply(1:256, function(x) aAdobe[aUnicode == latin2[x]])
205
> bLatin2 <- lapply(1:256, function(x) aAdobe[aUnicode == latin2[x]])
205
> format(bLatin2, justify="none")
206
> format(bLatin2, justify="none")
206
  [1] ""                          "controlSTX"               
207
  [1] ""                          "controlSTX"               
207
  [3] "controlSOT"                "controlETX"               
208
  [3] "controlSOT"                "controlETX"               
208
  [5] "controlEOT"                "controlENQ"               
209
  [5] "controlEOT"                "controlENQ"               
209
  [7] "controlACK"                "controlBEL"               
210
  [7] "controlACK"                "controlBEL"               
210
  [9] "controlBS"                 "controlHT"                
211
  [9] "controlBS"                 "controlHT"                
211
 [11] "controlLF"                 "controlVT"                
212
 [11] "controlLF"                 "controlVT"                
212
 [13] "controlFF"                 "controlCR"                
213
 [13] "controlFF"                 "controlCR"                
213
 [15] "controlSO"                 "controlSI"                
214
 [15] "controlSO"                 "controlSI"                
214
 [17] "controlDLE"                "controlDC1"               
215
 [17] "controlDLE"                "controlDC1"               
215
 [19] "controlDC2"                "controlDC3"               
216
 [19] "controlDC2"                "controlDC3"               
216
 [21] "controlDC4"                "controlNAK"               
217
 [21] "controlDC4"                "controlNAK"               
217
 [23] "controlSYN"                "controlETB"               
218
 [23] "controlSYN"                "controlETB"               
218
 [25] "controlCAN"                "controlEM"                
219
 [25] "controlCAN"                "controlEM"                
219
 [27] "controlSUB"                "controlESC"               
220
 [27] "controlSUB"                "controlESC"               
220
 [29] "controlFS"                 "controlGS"                
221
 [29] "controlFS"                 "controlGS"                
221
 [31] "controlRS"                 "controlUS"                
222
 [31] "controlRS"                 "controlUS"                
222
 [33] "space, spacehackarabic"    "exclam"                   
223
 [33] "space, spacehackarabic"    "exclam"                   
223
 [35] "quotedbl"                  "numbersign"               
224
 [35] "quotedbl"                  "numbersign"               
224
 [37] "dollar"                    "percent"                  
225
 [37] "dollar"                    "percent"                  
225
 [39] "ampersand"                 "quotesingle"              
226
 [39] "ampersand"                 "quotesingle"              
226
 [41] "parenleft"                 "parenright"               
227
 [41] "parenleft"                 "parenright"               
227
 [43] "asterisk"                  "plus"                     
228
 [43] "asterisk"                  "plus"                     
228
 [45] "comma"                     "hyphen"                   
229
 [45] "comma"                     "hyphen"                   
229
 [47] "period"                    "slash"                    
230
 [47] "period"                    "slash"                    
230
 [49] "zero"                      "one"                      
231
 [49] "zero"                      "one"                      
231
 [51] "two"                       "three"                    
232
 [51] "two"                       "three"                    
232
 [53] "four"                      "five"                     
233
 [53] "four"                      "five"                     
233
 [55] "six"                       "seven"                    
234
 [55] "six"                       "seven"                    
234
 [57] "eight"                     "nine"                     
235
 [57] "eight"                     "nine"                     
235
 [59] "colon"                     "semicolon"                
236
 [59] "colon"                     "semicolon"                
236
 [61] "less"                      "equal"                    
237
 [61] "less"                      "equal"                    
237
 [63] "greater"                   "question"                 
238
 [63] "greater"                   "question"                 
238
 [65] "at"                        "A"                        
239
 [65] "at"                        "A"                        
239
 [67] "B"                         "C"                        
240
 [67] "B"                         "C"                        
240
 [69] "D"                         "E"                        
241
 [69] "D"                         "E"                        
241
 [71] "F"                         "G"                        
242
 [71] "F"                         "G"                        
242
 [73] "H"                         "I"                        
243
 [73] "H"                         "I"                        
243
 [75] "J"                         "K"                        
244
 [75] "J"                         "K"                        
244
 [77] "L"                         "M"                        
245
 [77] "L"                         "M"                        
245
 [79] "N"                         "O"                        
246
 [79] "N"                         "O"                        
246
 [81] "P"                         "Q"                        
247
 [81] "P"                         "Q"                        
247
 [83] "R"                         "S"                        
248
 [83] "R"                         "S"                        
248
 [85] "T"                         "U"                        
249
 [85] "T"                         "U"                        
249
 [87] "V"                         "W"                        
250
 [87] "V"                         "W"                        
250
 [89] "X"                         "Y"                        
251
 [89] "X"                         "Y"                        
251
 [91] "Z"                         "bracketleft"              
252
 [91] "Z"                         "bracketleft"              
252
 [93] "backslash"                 "bracketright"             
253
 [93] "backslash"                 "bracketright"             
253
 [95] "asciicircum"               "underscore"               
254
 [95] "asciicircum"               "underscore"               
254
 [97] "grave"                     "a"                        
255
 [97] "grave"                     "a"                        
255
 [99] "b"                         "c"                        
256
 [99] "b"                         "c"                        
256
[101] "d"                         "e"                        
257
[101] "d"                         "e"                        
257
[103] "f"                         "g"                        
258
[103] "f"                         "g"                        
258
[105] "h"                         "i"                        
259
[105] "h"                         "i"                        
259
[107] "j"                         "k"                        
260
[107] "j"                         "k"                        
260
[109] "l"                         "m"                        
261
[109] "l"                         "m"                        
261
[111] "n"                         "o"                        
262
[111] "n"                         "o"                        
262
[113] "p"                         "q"                        
263
[113] "p"                         "q"                        
263
[115] "r"                         "s"                        
264
[115] "r"                         "s"                        
264
[117] "t"                         "u"                        
265
[117] "t"                         "u"                        
265
[119] "v"                         "w"                        
266
[119] "v"                         "w"                        
266
[121] "x"                         "y"                        
267
[121] "x"                         "y"                        
267
[123] "z"                         "braceleft"                
268
[123] "z"                         "braceleft"                
268
[125] "bar, verticalbar"          "braceright"               
269
[125] "bar, verticalbar"          "braceright"               
269
[127] "asciitilde"                "controlDEL"               
270
[127] "asciitilde"                "controlDEL"               
270
[129] ""                          ""                         
271
[129] ""                          ""                         
271
[131] ""                          ""                         
272
[131] ""                          ""                         
272
[133] ""                          ""                         
273
[133] ""                          ""                         
273
[135] ""                          ""                         
274
[135] ""                          ""                         
274
[137] ""                          ""                         
275
[137] ""                          ""                         
275
[139] ""                          ""                         
276
[139] ""                          ""                         
276
[141] ""                          ""                         
277
[141] ""                          ""                         
277
[143] ""                          ""                         
278
[143] ""                          ""                         
278
[145] ""                          ""                         
279
[145] ""                          ""                         
279
[147] ""                          ""                         
280
[147] ""                          ""                         
280
[149] ""                          ""                         
281
[149] ""                          ""                         
281
[151] ""                          ""                         
282
[151] ""                          ""                         
282
[153] ""                          ""                         
283
[153] ""                          ""                         
283
[155] ""                          ""                         
284
[155] ""                          ""                         
284
[157] ""                          ""                         
285
[157] ""                          ""                         
285
[159] ""                          ""                         
286
[159] ""                          ""                         
286
[161] "nbspace, nonbreakingspace" "Aogonek"                  
287
[161] "nbspace, nonbreakingspace" "Aogonek"                  
287
[163] "breve"                     "Lslash"                   
288
[163] "breve"                     "Lslash"                   
288
[165] "currency"                  "Lcaron"                   
289
[165] "currency"                  "Lcaron"                   
289
[167] "Sacute"                    "section"                  
290
[167] "Sacute"                    "section"                  
290
[169] "dieresis"                  "Scaron"                   
291
[169] "dieresis"                  "Scaron"                   
291
[171] "Scedilla"                  "Tcaron"                   
292
[171] "Scedilla"                  "Tcaron"                   
292
[173] "Zacute"                    "sfthyphen, softhyphen"    
293
[173] "Zacute"                    "sfthyphen, softhyphen"    
293
[175] "Zcaron"                    "Zdot, Zdotaccent"         
294
[175] "Zcaron"                    "Zdot, Zdotaccent"         
294
[177] "degree"                    "aogonek"                  
295
[177] "degree"                    "aogonek"                  
295
[179] "ogonek"                    "lslash"                   
296
[179] "ogonek"                    "lslash"                   
296
[181] "acute"                     "lcaron"                   
297
[181] "acute"                     "lcaron"                   
297
[183] "sacute"                    "caron"                    
298
[183] "sacute"                    "caron"                    
298
[185] "cedilla"                   "scaron"                   
299
[185] "cedilla"                   "scaron"                   
299
[187] "scedilla"                  "tcaron"                   
300
[187] "scedilla"                  "tcaron"                   
300
[189] "zacute"                    "hungarumlaut"             
301
[189] "zacute"                    "hungarumlaut"             
301
[191] "zcaron"                    "zdot, zdotaccent"         
302
[191] "zcaron"                    "zdot, zdotaccent"         
302
[193] "Racute"                    "Aacute"                   
303
[193] "Racute"                    "Aacute"                   
303
[195] "Acircumflex"               "Abreve"                   
304
[195] "Acircumflex"               "Abreve"                   
304
[197] "Adieresis"                 "Lacute"                   
305
[197] "Adieresis"                 "Lacute"                   
305
[199] "Cacute"                    "Ccedilla"                 
306
[199] "Cacute"                    "Ccedilla"                 
306
[201] "Ccaron"                    "Eacute"                   
307
[201] "Ccaron"                    "Eacute"                   
307
[203] "Eogonek"                   "Edieresis"                
308
[203] "Eogonek"                   "Edieresis"                
308
[205] "Ecaron"                    "Iacute"                   
309
[205] "Ecaron"                    "Iacute"                   
309
[207] "Icircumflex"               "Dcaron"                   
310
[207] "Icircumflex"               "Dcaron"                   
310
[209] "Dcroat, Dslash"            "Nacute"                   
311
[209] "Dcroat, Dslash"            "Nacute"                   
311
[211] "Ncaron"                    "Oacute"                   
312
[211] "Ncaron"                    "Oacute"                   
312
[213] "Ocircumflex"               "Odblacute, Ohungarumlaut" 
313
[213] "Ocircumflex"               "Odblacute, Ohungarumlaut" 
313
[215] "Odieresis"                 "multiply"                 
314
[215] "Odieresis"                 "multiply"                 
314
[217] "Rcaron"                    "Uring"                    
315
[217] "Rcaron"                    "Uring"                    
315
[219] "Uacute"                    "Udblacute, Uhungarumlaut" 
316
[219] "Uacute"                    "Udblacute, Uhungarumlaut" 
316
[221] "Udieresis"                 "Yacute"                   
317
[221] "Udieresis"                 "Yacute"                   
317
[223] "Tcedilla, Tcommaaccent"    "germandbls"               
318
[223] "Tcedilla, Tcommaaccent"    "germandbls"               
318
[225] "racute"                    "aacute"                   
319
[225] "racute"                    "aacute"                   
319
[227] "acircumflex"               "abreve"                   
320
[227] "acircumflex"               "abreve"                   
320
[229] "adieresis"                 "lacute"                   
321
[229] "adieresis"                 "lacute"                   
321
[231] "cacute"                    "ccedilla"                 
322
[231] "cacute"                    "ccedilla"                 
322
[233] "ccaron"                    "eacute"                   
323
[233] "ccaron"                    "eacute"                   
323
[235] "eogonek"                   "edieresis"                
324
[235] "eogonek"                   "edieresis"                
324
[237] "ecaron"                    "iacute"                   
325
[237] "ecaron"                    "iacute"                   
325
[239] "icircumflex"               "dcaron"                   
326
[239] "icircumflex"               "dcaron"                   
326
[241] "dcroat, dmacron"           "nacute"                   
327
[241] "dcroat, dmacron"           "nacute"                   
327
[243] "ncaron"                    "oacute"                   
328
[243] "ncaron"                    "oacute"                   
328
[245] "ocircumflex"               "odblacute, ohungarumlaut" 
329
[245] "ocircumflex"               "odblacute, ohungarumlaut" 
329
[247] "odieresis"                 "divide"                   
330
[247] "odieresis"                 "divide"                   
330
[249] "rcaron"                    "uring"                    
331
[249] "rcaron"                    "uring"                    
331
[251] "uacute"                    "udblacute, uhungarumlaut" 
332
[251] "uacute"                    "udblacute, uhungarumlaut" 
332
[253] "udieresis"                 "yacute"                   
333
[253] "udieresis"                 "yacute"                   
333
[255] "tcedilla, tcommaaccent"    "dotaccent"                
334
[255] "tcedilla, tcommaaccent"    "dotaccent"                
334
> 
335
> 
335
> 
336
> 
336
> 
337
> 
337
> cleanEx()
338
> cleanEx()
338
> nameEx("checkFF")
339
> nameEx("checkFF")
339
> ### * checkFF
340
> ### * checkFF
340
> 
341
> 
341
> flush(stderr()); flush(stdout())
342
> flush(stderr()); flush(stdout())
342
> 
343
> 
343
> ### Name: checkFF
344
> ### Name: checkFF
344
> ### Title: Check Foreign Function Calls
345
> ### Title: Check Foreign Function Calls
345
> ### Aliases: checkFF print.checkFF
346
> ### Aliases: checkFF print.checkFF
346
> ### Keywords: programming utilities
347
> ### Keywords: programming utilities
347
> 
348
> 
348
> ### ** Examples
349
> ### ** Examples
349
> 
350
> 
350
> 
351
> 
351
> cleanEx()
352
> cleanEx()
352
> nameEx("checkRdaFiles")
353
> nameEx("checkRdaFiles")
353
> ### * checkRdaFiles
354
> ### * checkRdaFiles
354
> 
355
> 
355
> flush(stderr()); flush(stdout())
356
> flush(stderr()); flush(stdout())
356
> 
357
> 
357
> ### Name: checkRdaFiles
358
> ### Name: checkRdaFiles
358
> ### Title: Report on Details of Saved Images or Re-saves them
359
> ### Title: Report on Details of Saved Images or Re-saves them
359
> ### Aliases: checkRdaFiles resaveRdaFiles
360
> ### Aliases: checkRdaFiles resaveRdaFiles
360
> ### Keywords: utilities
361
> ### Keywords: utilities
361
> 
362
> 
362
> ### ** Examples
363
> ### ** Examples
363
> ## Not run: 
364
> ## Not run: 
364
> ##D ## from a package top-level source directory
365
> ##D ## from a package top-level source directory
365
> ##D paths <- sort(Sys.glob(c("data/*.rda", "data/*.RData")))
366
> ##D paths <- sort(Sys.glob(c("data/*.rda", "data/*.RData")))
366
> ##D (res <- checkRdaFiles(paths))
367
> ##D (res <- checkRdaFiles(paths))
367
> ##D ## pick out some that may need attention
368
> ##D ## pick out some that may need attention
368
> ##D bad <- is.na(res$ASCII) | res$ASCII | (res$size > 1e4 & res$compress == "none")
369
> ##D bad <- is.na(res$ASCII) | res$ASCII | (res$size > 1e4 & res$compress == "none")
369
> ##D res[bad, ]
370
> ##D res[bad, ]
370
> ## End(Not run)
371
> ## End(Not run)
371
> 
372
> 
372
> 
373
> 
373
> cleanEx()
374
> cleanEx()
374
> nameEx("delimMatch")
375
> nameEx("delimMatch")
375
> ### * delimMatch
376
> ### * delimMatch
376
> 
377
> 
377
> flush(stderr()); flush(stdout())
378
> flush(stderr()); flush(stdout())
378
> 
379
> 
379
> ### Name: delimMatch
380
> ### Name: delimMatch
380
> ### Title: Delimited Pattern Matching
381
> ### Title: Delimited Pattern Matching
381
> ### Aliases: delimMatch
382
> ### Aliases: delimMatch
382
> ### Keywords: character
383
> ### Keywords: character
383
> 
384
> 
384
> ### ** Examples
385
> ### ** Examples
385
> 
386
> 
386
> x <- c("\\value{foo}", "function(bar)")
387
> x <- c("\\value{foo}", "function(bar)")
387
> delimMatch(x)
388
> delimMatch(x)
388
[1]  7 -1
389
[1]  7 -1
389
attr(,"match.length")
390
attr(,"match.length")
390
[1]  5 -1
391
[1]  5 -1
391
> delimMatch(x, c("(", ")"))
392
> delimMatch(x, c("(", ")"))
392
[1] -1  9
393
[1] -1  9
393
attr(,"match.length")
394
attr(,"match.length")
394
[1] -1  5
395
[1] -1  5
395
> 
396
> 
396
> 
397
> 
397
> 
398
> 
398
> cleanEx()
399
> cleanEx()
399
> nameEx("dependsOnPkgs")
400
> nameEx("dependsOnPkgs")
400
> ### * dependsOnPkgs
401
> ### * dependsOnPkgs
401
> 
402
> 
402
> flush(stderr()); flush(stdout())
403
> flush(stderr()); flush(stdout())
403
> 
404
> 
404
> ### Name: dependsOnPkgs
405
> ### Name: dependsOnPkgs
405
> ### Title: Find Reverse Dependencies
406
> ### Title: Find Reverse Dependencies
406
> ### Aliases: dependsOnPkgs
407
> ### Aliases: dependsOnPkgs
407
> ### Keywords: utilities
408
> ### Keywords: utilities
408
> 
409
> 
409
> ### ** Examples
410
> ### ** Examples
410
> 
411
> 
411
> ## there are few dependencies in a vanilla R installation
412
> ## there are few dependencies in a vanilla R installation
412
> dependsOnPkgs("lattice")
413
> dependsOnPkgs("lattice")
413
[1] "Matrix" "nlme"   "mgcv"  
414
[1] "Matrix" "nlme"   "mgcv"  
414
> 
415
> 
415
> 
416
> 
416
> 
417
> 
417
> cleanEx()
418
> cleanEx()
418
> nameEx("encoded")
419
> nameEx("encoded")
419
> ### * encoded
420
> ### * encoded
420
> 
421
> 
421
> flush(stderr()); flush(stdout())
422
> flush(stderr()); flush(stdout())
422
> 
423
> 
423
> ### Name: encoded_text_to_latex
424
> ### Name: encoded_text_to_latex
424
> ### Title: Translate non-ASCII Text to LaTeX Escapes
425
> ### Title: Translate non-ASCII Text to LaTeX Escapes
425
> ### Aliases: encoded_text_to_latex
426
> ### Aliases: encoded_text_to_latex
426
> ### Keywords: utilities
427
> ### Keywords: utilities
427
> 
428
> 
428
> ### ** Examples
429
> ### ** Examples
429
> 
430
> 
430
> x <- "fa\xE7ile"
431
> x <- "fa\xE7ile"
431
> encoded_text_to_latex(x, "latin1")
432
> encoded_text_to_latex(x, "latin1")
432
[1] "fa{\\c c}ile"
433
[1] "fa{\\c c}ile"
433
> ## Not run: 
434
> ## Not run: 
434
> ##D ## create a tex file to show the upper half of 8-bit charsets
435
> ##D ## create a tex file to show the upper half of 8-bit charsets
435
> ##D x <- rawToChar(as.raw(160:255), multiple=TRUE)
436
> ##D x <- rawToChar(as.raw(160:255), multiple=TRUE)
436
> ##D (x <- matrix(x, ncol=16, byrow=TRUE))
437
> ##D (x <- matrix(x, ncol=16, byrow=TRUE))
437
> ##D xx <- x
438
> ##D xx <- x
438
> ##D xx[] <- encoded_text_to_latex(x, "latin1") # or latin2 or latin9
439
> ##D xx[] <- encoded_text_to_latex(x, "latin1") # or latin2 or latin9
439
> ##D xx <- apply(xx, 1, paste, collapse="&")
440
> ##D xx <- apply(xx, 1, paste, collapse="&")
440
> ##D con <- file("test-encoding.tex", "w")
441
> ##D con <- file("test-encoding.tex", "w")
441
> ##D header <- c(
442
> ##D header <- c(
442
> ##D "\\documentclass{article}",
443
> ##D "\\documentclass{article}",
443
> ##D "\\usepackage[T1]{fontenc}",
444
> ##D "\\usepackage[T1]{fontenc}",
444
> ##D "\\usepackage{Rd}",
445
> ##D "\\usepackage{Rd}",
445
> ##D "\\begin{document}",
446
> ##D "\\begin{document}",
446
> ##D "\\HeaderA{test}{}{test}",
447
> ##D "\\HeaderA{test}{}{test}",
447
> ##D "\\begin{Details}\relax",
448
> ##D "\\begin{Details}\relax",
448
> ##D "\\Tabular{cccccccccccccccc}{")
449
> ##D "\\Tabular{cccccccccccccccc}{")
449
> ##D trailer <- c("}", "\\end{Details}", "\\end{document}")
450
> ##D trailer <- c("}", "\\end{Details}", "\\end{document}")
450
> ##D writeLines(header, con)
451
> ##D writeLines(header, con)
451
> ##D writeLines(paste(xx, "\\", sep=""), con)
452
> ##D writeLines(paste(xx, "\\", sep=""), con)
452
> ##D writeLines(trailer, con)
453
> ##D writeLines(trailer, con)
453
> ##D close(con)
454
> ##D close(con)
454
> ##D ## and some UTF_8 chars
455
> ##D ## and some UTF_8 chars
455
> ##D x <- intToUtf8(as.integer(
456
> ##D x <- intToUtf8(as.integer(
456
> ##D     c(160:383,0x0192,0x02C6,0x02C7,0x02CA,0x02D8,
457
> ##D     c(160:383,0x0192,0x02C6,0x02C7,0x02CA,0x02D8,
457
> ##D       0x02D9, 0x02DD, 0x200C, 0x2018, 0x2019, 0x201C,
458
> ##D       0x02D9, 0x02DD, 0x200C, 0x2018, 0x2019, 0x201C,
458
> ##D       0x201D, 0x2020, 0x2022, 0x2026, 0x20AC)),
459
> ##D       0x201D, 0x2020, 0x2022, 0x2026, 0x20AC)),
459
> ##D                multiple=TRUE)
460
> ##D                multiple=TRUE)
460
> ##D x <- matrix(x, ncol=16, byrow=TRUE)
461
> ##D x <- matrix(x, ncol=16, byrow=TRUE)
461
> ##D xx <- x
462
> ##D xx <- x
462
> ##D xx[] <- encoded_text_to_latex(x, "UTF-8")
463
> ##D xx[] <- encoded_text_to_latex(x, "UTF-8")
463
> ##D xx <- apply(xx, 1, paste, collapse="&")
464
> ##D xx <- apply(xx, 1, paste, collapse="&")
464
> ##D con <- file("test-utf8.tex", "w")
465
> ##D con <- file("test-utf8.tex", "w")
465
> ##D writeLines(header, con)
466
> ##D writeLines(header, con)
466
> ##D writeLines(paste(xx, "\\", sep=""), con)
467
> ##D writeLines(paste(xx, "\\", sep=""), con)
467
> ##D writeLines(trailer, con)
468
> ##D writeLines(trailer, con)
468
> ##D close(con)
469
> ##D close(con)
469
> ## End(Not run)
470
> ## End(Not run)
470
> 
471
> 
471
> 
472
> 
472
> cleanEx()
473
> cleanEx()
473
> nameEx("fileutils")
474
> nameEx("fileutils")
474
> ### * fileutils
475
> ### * fileutils
475
> 
476
> 
476
> flush(stderr()); flush(stdout())
477
> flush(stderr()); flush(stdout())
477
> 
478
> 
478
> ### Name: fileutils
479
> ### Name: fileutils
479
> ### Title: File Utilities
480
> ### Title: File Utilities
480
> ### Aliases: file_ext file_path_as_absolute file_path_sans_ext
481
> ### Aliases: file_ext file_path_as_absolute file_path_sans_ext
481
> ###   list_files_with_exts list_files_with_type
482
> ###   list_files_with_exts list_files_with_type
482
> ### Keywords: file
483
> ### Keywords: file
483
> 
484
> 
484
> ### ** Examples
485
> ### ** Examples
485
> 
486
> 
486
> 
487
> 
487
> cleanEx()
488
> cleanEx()
488
> nameEx("getDepList")
489
> nameEx("getDepList")
489
> ### * getDepList
490
> ### * getDepList
490
> 
491
> 
491
> flush(stderr()); flush(stdout())
492
> flush(stderr()); flush(stdout())
492
> 
493
> 
493
> ### Name: getDepList
494
> ### Name: getDepList
494
> ### Title: Functions to Retrieve Dependency Information
495
> ### Title: Functions to Retrieve Dependency Information
495
> ### Aliases: getDepList pkgDepends
496
> ### Aliases: getDepList pkgDepends
496
> ### Keywords: utilities
497
> ### Keywords: utilities
497
> 
498
> 
498
> ### ** Examples
499
> ### ** Examples
499
> 
500
> 
500
> pkgDepends("tools", local = FALSE)
501
> pkgDepends("tools", local = FALSE)
501
$Depends
502
$Depends
502
character(0)
503
character(0)
503
 
504
 
504
$Installed
505
$Installed
505
character(0)
506
character(0)
506
 
507
 
507
$Found
508
$Found
508
list()
509
list()
509
 
510
 
510
$NotFound
511
$NotFound
511
character(0)
512
character(0)
512
 
513
 
513
$R
514
$R
514
character(0)
515
character(0)
515
 
516
 
516
attr(,"class")
517
attr(,"class")
517
[1] "DependsList" "list"       
518
[1] "DependsList" "list"       
518
> 
519
> 
519
> 
520
> 
520
> 
521
> 
521
> cleanEx()
522
> cleanEx()
522
> nameEx("installFoundDepends")
523
> nameEx("installFoundDepends")
523
> ### * installFoundDepends
524
> ### * installFoundDepends
524
> 
525
> 
525
> flush(stderr()); flush(stdout())
526
> flush(stderr()); flush(stdout())
526
> 
527
> 
527
> ### Name: installFoundDepends
528
> ### Name: installFoundDepends
528
> ### Title: A function to install unresolved dependencies
529
> ### Title: A function to install unresolved dependencies
529
> ### Aliases: installFoundDepends
530
> ### Aliases: installFoundDepends
530
> ### Keywords: utilities
531
> ### Keywords: utilities
531
> 
532
> 
532
> ### ** Examples
533
> ### ** Examples
533
> 
534
> 
534
> ## Set up a temporary directory to install packages to
535
> ## Set up a temporary directory to install packages to
535
> tmp <- tempfile()
536
> tmp <- tempfile()
536
> dir.create(tmp)
537
> dir.create(tmp)
537
> 
538
> 
538
> pDL <- pkgDepends("tools",local=FALSE)
539
> pDL <- pkgDepends("tools",local=FALSE)
539
> installFoundDepends(pDL$Found, destdir=tmp)
540
> installFoundDepends(pDL$Found, destdir=tmp)
540
NULL
541
NULL
541
> 
542
> 
542
> 
543
> 
543
> 
544
> 
544
> cleanEx()
545
> cleanEx()
545
> nameEx("makeLazyLoading")
546
> nameEx("makeLazyLoading")
546
> ### * makeLazyLoading
547
> ### * makeLazyLoading
547
> 
548
> 
548
> flush(stderr()); flush(stdout())
549
> flush(stderr()); flush(stdout())
549
> 
550
> 
550
> ### Name: makeLazyLoading
551
> ### Name: makeLazyLoading
551
> ### Title: Lazy Loading of Packages
552
> ### Title: Lazy Loading of Packages
552
> ### Aliases: makeLazyLoading
553
> ### Aliases: makeLazyLoading
553
> ### Keywords: utilities
554
> ### Keywords: utilities
554
> 
555
> 
555
> ### ** Examples
556
> ### ** Examples
556
> 
557
> 
557
> ## set up package "splines" for lazy loading -- already done
558
> ## set up package "splines" for lazy loading -- already done
558
> ## Not run: 
559
> ## Not run: 
559
> ##D tools:::makeLazyLoading("splines")
560
> ##D tools:::makeLazyLoading("splines")
560
> ## End(Not run)
561
> ## End(Not run)
561
> 
562
> 
562
> 
563
> 
563
> 
564
> 
564
> cleanEx()
565
> cleanEx()
565
> nameEx("md5sum")
566
> nameEx("md5sum")
566
> ### * md5sum
567
> ### * md5sum
567
> 
568
> 
568
> flush(stderr()); flush(stdout())
569
> flush(stderr()); flush(stdout())
569
> 
570
> 
570
> ### Name: md5sum
571
> ### Name: md5sum
571
> ### Title: Compute MD5 Checksums
572
> ### Title: Compute MD5 Checksums
572
> ### Aliases: md5sum
573
> ### Aliases: md5sum
573
> ### Keywords: utilities
574
> ### Keywords: utilities
574
> 
575
> 
575
> ### ** Examples
576
> ### ** Examples
576
> 
577
> 
577
> as.vector(md5sum(dir(R.home(), pattern="^COPY", full.names=TRUE)))
578
> as.vector(md5sum(dir(R.home(), pattern="^COPY", full.names=TRUE)))
578
[1] "eb723b61539feef013de476e68b5c50a"
579
[1] "eb723b61539feef013de476e68b5c50a"
579
> 
580
> 
580
> 
581
> 
581
> 
582
> 
582
> cleanEx()
583
> cleanEx()
583
> nameEx("readNEWS")
584
> nameEx("readNEWS")
584
> ### * readNEWS
585
> ### * readNEWS
585
> 
586
> 
586
> flush(stderr()); flush(stdout())
587
> flush(stderr()); flush(stdout())
587
> 
588
> 
588
> ### Name: readNEWS
589
> ### Name: readNEWS
589
> ### Title: Read R's NEWS file or a similar one
590
> ### Title: Read R's NEWS file or a similar one
590
> ### Aliases: readNEWS checkNEWS
591
> ### Aliases: readNEWS checkNEWS
591
> ### Keywords: file documentation
592
> ### Keywords: file documentation
592
> 
593
> 
593
> ### ** Examples
594
> ### ** Examples
594
> # Check the current NEWS file
595
> # Check the current NEWS file
595
> 
596
> 
596
> stopifnot(checkNEWS())
597
> stopifnot(checkNEWS())
597
> 
598
> 
598
> 
599
> 
599
> 
600
> 
600
> 
601
> 
601
> cleanEx()
602
> cleanEx()
602
> nameEx("showNonASCII")
603
> nameEx("showNonASCII")
603
> ### * showNonASCII
604
> ### * showNonASCII
604
> 
605
> 
605
> flush(stderr()); flush(stdout())
606
> flush(stderr()); flush(stdout())
606
> 
607
> 
607
> ### Name: showNonASCII
608
> ### Name: showNonASCII
608
> ### Title: Highlight non-ASCII characters
609
> ### Title: Highlight non-ASCII characters
609
> ### Aliases: showNonASCII
610
> ### Aliases: showNonASCII
610
> ### Keywords: utilities
611
> ### Keywords: utilities
611
> 
612
> 
612
> ### ** Examples
613
> ### ** Examples
613
> 
614
> 
614
> out <- c(
615
> out <- c(
615
+ "fa\xE7ile test of showNonASCII():",
616
+ "fa\xE7ile test of showNonASCII():",
616
+ "\\details{",
617
+ "\\details{",
617
+ "   This is a good line",
618
+ "   This is a good line",
618
+ "   This has an \xfcmlaut in it.",
619
+ "   This has an \xfcmlaut in it.",
619
+ "   OK again.",
620
+ "   OK again.",
620
+ "}")
621
+ "}")
621
> f <- tempfile()
622
> f <- tempfile()
622
> cat(out, file = f, sep = "\n")
623
> cat(out, file = f, sep = "\n")
623
> 
624
> 
624
> showNonASCII(readLines(f))
625
> showNonASCII(readLines(f))
625
1: fa<e7>ile test of showNonASCII():
626
1: fa<e7>ile test of showNonASCII():
626
4:    This has an <fc>mlaut in it.
627
4:    This has an <fc>mlaut in it.
627
> unlink(f)
628
> unlink(f)
628
> 
629
> 
629
> 
630
> 
630
> 
631
> 
631
> cleanEx()
632
> cleanEx()
632
> nameEx("toHTML")
633
> nameEx("toHTML")
633
> ### * toHTML
634
> ### * toHTML
634
> 
635
> 
635
> flush(stderr()); flush(stdout())
636
> flush(stderr()); flush(stdout())
636
> 
637
> 
637
> ### Name: toHTML
638
> ### Name: toHTML
638
> ### Title: Display an object in HTML.
639
> ### Title: Display an object in HTML.
639
> ### Aliases: toHTML toHTML.packageIQR toHTML.news_db
640
> ### Aliases: toHTML toHTML.packageIQR toHTML.news_db
640
> ### Keywords: utilities documentation
641
> ### Keywords: utilities documentation
641
> 
642
> 
642
> ### ** Examples
643
> ### ** Examples
643
> 
644
> 
644
> cat(toHTML(demo(package="base")), sep="\n")
645
> cat(toHTML(demo(package="base")), sep="\n")
645
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
646
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
646
<html><head><title>R: R</title>
647
<html><head><title>R: R</title>
647
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
648
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
648
<link rel="stylesheet" type="text/css" href="/doc/html/R.css">
649
<link rel="stylesheet" type="text/css" href="/doc/html/R.css">
649
</head><body>
650
</head><body>
650
<h1> R
651
<h1> R
651
<img class="toplogo" src="/doc/html/logo.jpg" alt="[R logo]"></h1>
652
<img class="toplogo" src="/doc/html/logo.jpg" alt="[R logo]"></h1>
652
</h1>
653
</h1>
653
<hr>
654
<hr>
654
<div align="center">
655
<div align="center">
655
<a href="/doc/html/index.html"><img src="/doc/html/up.jpg" alt="[Top]" width="30" height="30" border="0"></a>
656
<a href="/doc/html/index.html"><img src="/doc/html/up.jpg" alt="[Top]" width="30" height="30" border="0"></a>
656
</div>
657
</div>
657
<h2>Demos in package &lsquo;base&rsquo;</h2>
658
<h2>Demos in package &lsquo;base&rsquo;</h2>
658
<table cols="2" width="100%">
659
<table cols="2" width="100%">
659
<tr>
660
<tr>
660
 <td align="left" valign="top" width="10%">
661
 <td align="left" valign="top" width="10%">
661
is.things
662
is.things
662
 </td>
663
 </td>
663
 <td align="left" valign="top" width="90%">
664
 <td align="left" valign="top" width="90%">
664
Explore some properties of R objects and is.FOO() functions. Not for newbies!
665
Explore some properties of R objects and is.FOO() functions. Not for newbies!
665
 </td>
666
 </td>
666
</tr>
667
</tr>
667
 
668
 
668
<tr>
669
<tr>
669
 <td align="left" valign="top" width="10%">
670
 <td align="left" valign="top" width="10%">
670
recursion
671
recursion
671
 </td>
672
 </td>
672
 <td align="left" valign="top" width="90%">
673
 <td align="left" valign="top" width="90%">
673
Using recursion for adaptive integration
674
Using recursion for adaptive integration
674
 </td>
675
 </td>
675
</tr>
676
</tr>
676
 
677
 
677
<tr>
678
<tr>
678
 <td align="left" valign="top" width="10%">
679
 <td align="left" valign="top" width="10%">
679
scoping
680
scoping
680
 </td>
681
 </td>
681
 <td align="left" valign="top" width="90%">
682
 <td align="left" valign="top" width="90%">
682
An illustration of lexical scoping.
683
An illustration of lexical scoping.
683
 </td>
684
 </td>
684
</tr>
685
</tr>
685
 
686
 
686
</table>
687
</table>
687
<p>
688
<p>
688
</p>
689
</p>
689
</body></html>
690
</body></html>
690
> 
691
> 
691
> 
692
> 
692
> 
693
> 
693
> cleanEx()
694
> cleanEx()
694
> nameEx("undoc")
695
> nameEx("undoc")
695
> ### * undoc
696
> ### * undoc
696
> 
697
> 
697
> flush(stderr()); flush(stdout())
698
> flush(stderr()); flush(stdout())
698
> 
699
> 
699
> ### Name: undoc
700
> ### Name: undoc
700
> ### Title: Find Undocumented Objects
701
> ### Title: Find Undocumented Objects
701
> ### Aliases: undoc print.undoc
702
> ### Aliases: undoc print.undoc
702
> ### Keywords: documentation
703
> ### Keywords: documentation
703
> 
704
> 
704
> ### ** Examples
705
> ### ** Examples
705
> 
706
> 
706
> undoc("tools")                  # Undocumented objects in 'tools'
707
> undoc("tools")                  # Undocumented objects in 'tools'
707
> 
708
> 
708
> 
709
> 
709
> 
710
> 
710
> cleanEx()
711
> cleanEx()
711
> nameEx("vignetteDepends")
712
> nameEx("vignetteDepends")
712
> ### * vignetteDepends
713
> ### * vignetteDepends
713
> 
714
> 
714
> flush(stderr()); flush(stdout())
715
> flush(stderr()); flush(stdout())
715
> 
716
> 
716
> ### Name: vignetteDepends
717
> ### Name: vignetteDepends
717
> ### Title: Retrieve Dependency Information for a Vignette
718
> ### Title: Retrieve Dependency Information for a Vignette
718
> ### Aliases: vignetteDepends
719
> ### Aliases: vignetteDepends
719
> ### Keywords: utilities
720
> ### Keywords: utilities
720
> 
721
> 
721
> ### ** Examples
722
> ### ** Examples
722
> 
723
> 
723
> ## This may not be installed
724
> ## This may not be installed
724
> gridEx <- system.file("doc", "grid.Snw", package = "grid")
725
> gridEx <- system.file("doc", "grid.Snw", package = "grid")
725
> vignetteDepends(gridEx)
726
> vignetteDepends(gridEx)
726
$Depends
727
$Depends
727
[1] "lattice"
728
[1] "lattice"
728
 
729
 
729
$Installed
730
$Installed
730
[1] "lattice"
731
[1] "lattice"
731
 
732
 
732
$Found
733
$Found
733
list()
734
list()
734
 
735
 
735
$NotFound
736
$NotFound
736
character(0)
737
character(0)
737
 
738
 
738
$R
739
$R
739
[1] "R (>= 2.11.0)"
740
[1] "R (>= 2.11.0)"
740
 
741
 
741
attr(,"class")
742
attr(,"class")
742
[1] "DependsList" "list"       
743
[1] "DependsList" "list"       
743
> 
744
> 
744
> 
745
> 
745
> 
746
> 
746
> cleanEx()
747
> cleanEx()
747
> nameEx("writePACKAGES")
748
> nameEx("writePACKAGES")
748
> ### * writePACKAGES
749
> ### * writePACKAGES
749
> 
750
> 
750
> flush(stderr()); flush(stdout())
751
> flush(stderr()); flush(stdout())
751
> 
752
> 
752
> ### Name: write_PACKAGES
753
> ### Name: write_PACKAGES
753
> ### Title: Generate PACKAGES files
754
> ### Title: Generate PACKAGES files
754
> ### Aliases: write_PACKAGES
755
> ### Aliases: write_PACKAGES
755
> ### Keywords: file utilities
756
> ### Keywords: file utilities
756
> 
757
> 
757
> ### ** Examples
758
> ### ** Examples
758
> 
759
> 
759
> ## Not run: 
760
> ## Not run: 
760
> ##D write_PACKAGES("c:/myFolder/myRepository")  # on Windows
761
> ##D write_PACKAGES("c:/myFolder/myRepository")  # on Windows
761
> ##D write_PACKAGES("/pub/RWin/bin/windows/contrib/2.9",
762
> ##D write_PACKAGES("/pub/RWin/bin/windows/contrib/2.9",
762
> ##D                type="win.binary")  # on Linux
763
> ##D                type="win.binary")  # on Linux
763
> ## End(Not run)
764
> ## End(Not run)
764
> 
765
> 
765
> 
766
> 
766
> cleanEx()
767
> cleanEx()
767
> nameEx("xgettext")
768
> nameEx("xgettext")
768
> ### * xgettext
769
> ### * xgettext
769
> 
770
> 
770
> flush(stderr()); flush(stdout())
771
> flush(stderr()); flush(stdout())
771
> 
772
> 
772
> ### Name: xgettext
773
> ### Name: xgettext
773
> ### Title: Extract Translatable Messages from R Files in a Package
774
> ### Title: Extract Translatable Messages from R Files in a Package
774
> ### Aliases: xgettext xngettext xgettext2pot
775
> ### Aliases: xgettext xngettext xgettext2pot
775
> ### Keywords: utilities
776
> ### Keywords: utilities
776
> 
777
> 
777
> ### ** Examples
778
> ### ** Examples
778
> ## Not run: 
779
> ## Not run: 
779
> ##D ## in a source-directory build of R:
780
> ##D ## in a source-directory build of R:
780
> ##D xgettext(file.path(R.home(), "src", "library", "splines"))
781
> ##D xgettext(file.path(R.home(), "src", "library", "splines"))
781
> ## End(Not run)
782
> ## End(Not run)
782
> 
783
> 
783
> 
784
> 
784
> ### * <FOOTER>
785
> ### * <FOOTER>
785
> ###
786
> ###
786
> cat("Time elapsed: ", proc.time() - get("ptime", pos = 'CheckExEnv'),"\n")
787
> cat("Time elapsed: ", proc.time() - get("ptime", pos = 'CheckExEnv'),"\n")
787
Time elapsed:  1.48 0.1 1.69 NA NA 
788
Time elapsed:  1.48 0.1 1.69 NA NA 
788
> grDevices::dev.off()
789
> grDevices::dev.off()
789
null device 
790
null device 
790
          1 
791
          1 
791
> ###
792
> ###
792
> ### Local variables: ***
793
> ### Local variables: ***
793
> ### mode: outline-minor ***
794
> ### mode: outline-minor ***
794
> ### outline-regexp: "\\(> \\)?### [*]+" ***
795
> ### outline-regexp: "\\(> \\)?### [*]+" ***
795
> ### End: ***
796
> ### End: ***
796
> quit('no')
797
> quit('no')
-