The R Project SVN R

Rev

Rev 29864 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 29864 Rev 30691
Line 1... Line -...
1
START-INFO-DIR-ENTRY
-
 
2
* R FAQ: (R-FAQ).               The R statistical system FAQ.
-
 
3
END-INFO-DIR-ENTRY
-
 
4
 
-
 
5
   R FAQ
1
R FAQ
6
Frequently Asked Questions on R
2
Frequently Asked Questions on R
7
Version 1.9-24 2004-06-15
3
Version 1.9-45 2004-08-14
8
ISBN 3-900051-01-1
4
ISBN 3-900051-01-1
9
Kurt Hornik
5
Kurt Hornik
10
 
6
 
11
 
7
 
12
Table of Contents
8
Table of Contents
13
*****************
9
*****************
14
 
10
 
15
 
-
 
16
R FAQ
11
R FAQ
17
 
-
 
18
1 Introduction
12
1 Introduction
19
  1.1 Legalese
13
  1.1 Legalese
20
  1.2 Obtaining this document
14
  1.2 Obtaining this document
21
  1.3 Citing this document
15
  1.3 Citing this document
22
  1.4 Notation
16
  1.4 Notation
23
  1.5 Feedback
17
  1.5 Feedback
24
 
-
 
25
2 R Basics
18
2 R Basics
26
  2.1 What is R?
19
  2.1 What is R?
27
  2.2 What machines does R run on?
20
  2.2 What machines does R run on?
28
  2.3 What is the current version of R?
21
  2.3 What is the current version of R?
29
  2.4 How can R be obtained?
22
  2.4 How can R be obtained?
Line 37... Line 30...
37
  2.9 What mailing lists exist for R?
30
  2.9 What mailing lists exist for R?
38
  2.10 What is CRAN?
31
  2.10 What is CRAN?
39
  2.11 Can I use R for commercial purposes?
32
  2.11 Can I use R for commercial purposes?
40
  2.12 Why is R named R?
33
  2.12 Why is R named R?
41
  2.13 What is the R Foundation?
34
  2.13 What is the R Foundation?
42
 
-
 
43
3 R and S
35
3 R and S
44
  3.1 What is S?
36
  3.1 What is S?
45
  3.2 What is S-PLUS?
37
  3.2 What is S-PLUS?
46
  3.3 What are the differences between R and S?
38
  3.3 What are the differences between R and S?
47
    3.3.1 Lexical scoping
39
    3.3.1 Lexical scoping
48
    3.3.2 Models
40
    3.3.2 Models
49
    3.3.3 Others
41
    3.3.3 Others
50
  3.4 Is there anything R can do that S-PLUS cannot?
42
  3.4 Is there anything R can do that S-PLUS cannot?
51
  3.5 What is R-plus?
43
  3.5 What is R-plus?
52
 
-
 
53
4 R Web Interfaces
44
4 R Web Interfaces
54
 
-
 
55
5 R Add-On Packages
45
5 R Add-On Packages
56
  5.1 Which add-on packages exist for R?
46
  5.1 Which add-on packages exist for R?
57
    5.1.1 Add-on packages in R
47
    5.1.1 Add-on packages in R
58
    5.1.2 Add-on packages from CRAN
48
    5.1.2 Add-on packages from CRAN
59
    5.1.3 Add-on packages from Omegahat
49
    5.1.3 Add-on packages from Omegahat
Line 62... Line 52...
62
  5.2 How can add-on packages be installed?
52
  5.2 How can add-on packages be installed?
63
  5.3 How can add-on packages be used?
53
  5.3 How can add-on packages be used?
64
  5.4 How can add-on packages be removed?
54
  5.4 How can add-on packages be removed?
65
  5.5 How can I create an R package?
55
  5.5 How can I create an R package?
66
  5.6 How can I contribute to R?
56
  5.6 How can I contribute to R?
67
 
-
 
68
6 R and Emacs
57
6 R and Emacs
69
  6.1 Is there Emacs support for R?
58
  6.1 Is there Emacs support for R?
70
  6.2 Should I run R from within Emacs?
59
  6.2 Should I run R from within Emacs?
71
  6.3 Debugging R from within Emacs
60
  6.3 Debugging R from within Emacs
72
 
-
 
73
7 R Miscellanea
61
7 R Miscellanea
74
  7.1 Why does R run out of memory?
62
  7.1 Why does R run out of memory?
75
  7.2 Why does sourcing a correct file fail?
63
  7.2 Why does sourcing a correct file fail?
76
  7.3 How can I set components of a list to NULL?
64
  7.3 How can I set components of a list to NULL?
77
  7.4 How can I save my workspace?
65
  7.4 How can I save my workspace?
Line 95... Line 83...
95
  7.22 How can I get command line editing to work?
83
  7.22 How can I get command line editing to work?
96
  7.23 How can I turn a string into a variable?
84
  7.23 How can I turn a string into a variable?
97
  7.24 Why do lattice/trellis graphics not work?
85
  7.24 Why do lattice/trellis graphics not work?
98
  7.25 How can I sort the rows of a data frame?
86
  7.25 How can I sort the rows of a data frame?
99
  7.26 Why does the help.start() search engine not work?
87
  7.26 Why does the help.start() search engine not work?
100
 
-
 
-
 
88
  7.27 Why did my .Rprofile stop working when I updated R?
101
8 R Programming
89
8 R Programming
102
  8.1 How should I write summary methods?
90
  8.1 How should I write summary methods?
103
  8.2 How can I debug dynamically loaded code?
91
  8.2 How can I debug dynamically loaded code?
104
  8.3 How can I inspect R objects when debugging?
92
  8.3 How can I inspect R objects when debugging?
105
  8.4 How can I change compilation flags?
93
  8.4 How can I change compilation flags?
106
 
-
 
107
9 R Bugs
94
9 R Bugs
108
  9.1 What is a bug?
95
  9.1 What is a bug?
109
  9.2 How to report a bug
96
  9.2 How to report a bug
110
 
-
 
111
10 Acknowledgments
97
10 Acknowledgments
112
 
98
 
113
 
99
 
114
R FAQ
100
R FAQ
115
*****
101
*****
Line 218... Line 204...
218
Statistics of the University of Auckland in Auckland, New Zealand.  In
204
Statistics of the University of Auckland in Auckland, New Zealand.  In
219
addition, a large group of individuals has contributed to R by sending code
205
addition, a large group of individuals has contributed to R by sending code
220
and bug reports.
206
and bug reports.
221
 
207
 
222
   Since mid-1997 there has been a core group (the "R Core Team") who can
208
   Since mid-1997 there has been a core group (the "R Core Team") who can
223
modify the R source code CVS archive.  The group currently consists of Doug
209
modify the R source code archive.  The group currently consists of Doug
224
Bates, John Chambers, Peter Dalgaard, Robert Gentleman, Kurt Hornik,
210
Bates, John Chambers, Peter Dalgaard, Robert Gentleman, Kurt Hornik,
225
Stefano Iacus, Ross Ihaka, Friedrich Leisch, Thomas Lumley, Martin
211
Stefano Iacus, Ross Ihaka, Friedrich Leisch, Thomas Lumley, Martin
226
Maechler, Duncan Murdoch, Paul Murrell, Martyn Plummer, Brian Ripley,
212
Maechler, Duncan Murdoch, Paul Murrell, Martyn Plummer, Brian Ripley,
227
Duncan Temple Lang, and Luke Tierney.
213
Duncan Temple Lang, and Luke Tierney.
228
 
214
 
Line 246... Line 232...
246
   If you know about other platforms, please drop us a note.
232
   If you know about other platforms, please drop us a note.
247
 
233
 
248
2.3 What is the current version of R?
234
2.3 What is the current version of R?
249
=====================================
235
=====================================
250
 
236
 
251
The current released version is 1.9.0.  Based on this
237
The current released version is 1.9.1.  Based on this
252
`major.minor.patchlevel' numbering scheme, there are two development
238
`major.minor.patchlevel' numbering scheme, there are two development
253
versions of R, working towards the next patch (`r-patched') and minor or
239
versions of R, working towards the next patch (`r-patched') and minor or
254
eventually major (`r-devel') releases of R, respectively.  Version
240
eventually major (`r-devel') releases of R, respectively.  Version
255
r-patched is for bug fixes mostly.  New features are typically introduced
241
r-patched is for bug fixes mostly.  New features are typically introduced
256
in r-devel.
242
in r-devel.
Line 259... Line 245...
259
==========================
245
==========================
260
 
246
 
261
Sources, binaries and documentation for R can be obtained via CRAN, the
247
Sources, binaries and documentation for R can be obtained via CRAN, the
262
"Comprehensive R Archive Network" (see *Note What is CRAN?::).
248
"Comprehensive R Archive Network" (see *Note What is CRAN?::).
263
 
249
 
264
   Sources are also available via anonymous rsync.  Use
250
   Sources are also available via `https://svn.r-project.org/R/', the R
265
 
-
 
266
     rsync -rptC --delete rsync.R-project.org::MODULE R
-
 
267
 
-
 
268
to create a copy of the source tree specified by MODULE in the subdirectory
-
 
269
`R' of the current directory, where MODULE specifies one of the three
-
 
270
existing flavors of the R sources, and can be one of `r-release' (current
-
 
271
released version), `r-patched' (patched released version), and `r-devel'
-
 
272
(development version).  The rsync trees are created directly from the
251
Subversion repository, but currently not via anonymous rsync (or CVS).
273
master CVS archive and are updated hourly.  The `-C' and in the `rsync'
-
 
274
command is to cause it to skip the CVS directories.  Further information on
-
 
275
`rsync' is available at `http://rsync.samba.org/rsync/'.
-
 
276
 
-
 
277
   Note that the sources available via rsync do not include the recommended
-
 
278
packages, whereas these are included in the tarballs of released versions.
-
 
279
To install the appropriate sources for the recommended packages, run
-
 
280
`./tools/rsync-recommended' from the top-level of the R sources that you
-
 
281
pulled by rsync.
-
 
282
 
-
 
283
   The sources of the development version are also available via anonymous
-
 
284
CVS.  See `http://anoncvs.R-project.org' for more information.
-
 
285
 
252
 
286
2.5 How can R be installed?
253
2.5 How can R be installed?
287
===========================
254
===========================
288
 
255
 
289
2.5.1 How can R be installed (Unix)
256
2.5.1 How can R be installed (Unix)
Line 394... Line 361...
394
==================================
361
==================================
395
 
362
 
396
The `bin/linux' directory of a CRAN site contains Debian
363
The `bin/linux' directory of a CRAN site contains Debian
397
stable/testing/unstable packages for the i386 platform (now part of the
364
stable/testing/unstable packages for the i386 platform (now part of the
398
Debian distribution and maintained by Dirk Eddelbuettel), Mandrake
365
Debian distribution and maintained by Dirk Eddelbuettel), Mandrake
399
9.1/9.2/10.0 i386 packages by Michele Alzetta, Red Hat 7.x/8.x/9/Fedora1
366
9.1/9.2/10.0 i386 packages by Michele Alzetta, Red Hat
400
i386, 7.x alpha, and Fedora1 x86_64 packages by Martyn Plummer, Naoki
367
8.x/9/Fedora1/Fedora2 i386 and Fedora1 x86_64 packages by Martyn Plummer
401
Takebayashi, and James Henstridge, respectively, SuSE 7.3/8.0/8.1/8.2 i386
368
and James Henstridge, respectively, SuSE 7.3/8.0/8.1/8.2 i386 and 9.0/9.1
402
and 9.0/9.1 i586 packages by Detlef Steuer, and VineLinux 2.6 i386 packages
369
i586 packages by Detlef Steuer, and VineLinux 2.6 i386 packages by Susunu
403
by Susunu Tanimura.
370
Tanimura.
404
 
371
 
405
   The Debian packages can be accessed through APT, the Debian package
372
   The Debian packages can be accessed through APT, the Debian package
406
maintenance tool.  Simply add the line
373
maintenance tool.  Simply add the line
407
 
374
 
408
     deb http://cran.R-project.org/bin/linux/debian DISTRIBUTION main
375
     deb http://cran.R-project.org/bin/linux/debian DISTRIBUTION main
Line 574... Line 541...
574
     functionality, and pre-testing of new versions.  It is meant for those
541
     functionality, and pre-testing of new versions.  It is meant for those
575
     who maintain an active position in the development of R.
542
     who maintain an active position in the development of R.
576
 
543
 
577
Convenient access to information on these lists, subscription, and archives
544
Convenient access to information on these lists, subscription, and archives
578
is provided by the web interface at
545
is provided by the web interface at
579
`http://www.stat.math.ethz.ch/mailman/listinfo/'.  One can also subscribe
546
`http://stat.ethz.ch/mailman/listinfo/'.  One can also subscribe (or
580
(or unsubscribe) via email, e.g. to R-help by sending `subscribe' (or
547
unsubscribe) via email, e.g. to R-help by sending `subscribe' (or
581
`unsubscribe') in the _body_ of the message (not in the subject!) to
548
`unsubscribe') in the _body_ of the message (not in the subject!) to
582
<R-help-request@lists.R-project.org>.
549
<R-help-request@lists.R-project.org>.
583
 
550
 
584
   Send email to <R-help@lists.R-project.org> to send a message to everyone
551
   Send email to <R-help@lists.R-project.org> to send a message to everyone
585
on the R-help mailing list.  Subscription and posting to the other lists is
552
on the R-help mailing list.  Subscription and posting to the other lists is
Line 640... Line 607...
640
 
607
 
641
See `http://cran.R-project.org/mirrors.html' for a complete list of
608
See `http://cran.R-project.org/mirrors.html' for a complete list of
642
mirrors.  Please use the CRAN site closest to you to reduce network load.
609
mirrors.  Please use the CRAN site closest to you to reduce network load.
643
 
610
 
644
   From CRAN, you can obtain the latest official release of R, daily
611
   From CRAN, you can obtain the latest official release of R, daily
645
snapshots of R (copies of the current CVS trees), as gzipped and bzipped
612
snapshots of R (copies of the current source trees), as gzipped and bzipped
646
tar files, a wealth of additional contributed code, as well as prebuilt
613
tar files, a wealth of additional contributed code, as well as prebuilt
647
binaries for various operating systems (Linux, Mac OS Classic, Mac OS X,
614
binaries for various operating systems (Linux, Mac OS Classic, Mac OS X,
648
and MS Windows).  CRAN also provides access to documentation on R, existing
615
and MS Windows).  CRAN also provides access to documentation on R, existing
649
mailing lists and the R Bug Tracking system.
616
mailing lists and the R Bug Tracking system.
650
 
617
 
651
   To "submit" to CRAN, simply upload to
618
   To "submit" to CRAN, simply upload to
652
`ftp://cran.R-project.org/incoming/' and send an email to
619
`ftp://cran.R-project.org/incoming/' and send an email to
653
<cran@R-project.org>.  Note that CRAN generally does not accept submissions
620
<cran@R-project.org>.  Note that CRAN generally does not accept submissions
654
of precompiled binaries due to security reasons.
621
of precompiled binaries due to security reasons.
655
 
622
 
656
     *Note:*  It is very important that you indicate the copyright
623
     *Note*:  It is very important that you indicate the copyright
657
     (license) information (GPL, BSD, Artistic, ...)  in your submission.
624
     (license) information (GPL, BSD, Artistic, ...)  in your submission.
658
 
625
 
659
   Please always use the URL of the master site when referring to CRAN.
626
   Please always use the URL of the master site when referring to CRAN.
660
 
627
 
661
2.11 Can I use R for commercial purposes?
628
2.11 Can I use R for commercial purposes?
Line 752... Line 719...
752
     This is also called the "_White Book_", and introduced S version 3,
719
     This is also called the "_White Book_", and introduced S version 3,
753
     which added structures to facilitate statistical modeling in S.
720
     which added structures to facilitate statistical modeling in S.
754
 
721
 
755
   * John M. Chambers (1998), "Programming with Data," New York: Springer,
722
   * John M. Chambers (1998), "Programming with Data," New York: Springer,
756
     ISBN 0-387-98503-4
723
     ISBN 0-387-98503-4
757
     (<http://cm.bell-labs.com/cm/ms/departments/sia/Sbook/>).
724
     (`http://cm.bell-labs.com/cm/ms/departments/sia/Sbook/').
758
 
725
 
759
     This "_Green Book_" describes version 4 of S, a major revision of S
726
     This "_Green Book_" describes version 4 of S, a major revision of S
760
     designed by John Chambers to improve its usefulness at every stage of
727
     designed by John Chambers to improve its usefulness at every stage of
761
     the programming process.
728
     the programming process.
762
 
729
 
Line 961... Line 928...
961
you might consider saving often (see *Note How can I save my workspace?::)
928
you might consider saving often (see *Note How can I save my workspace?::)
962
to safeguard against possible crashes.  Other possibilities are logging
929
to safeguard against possible crashes.  Other possibilities are logging
963
your sessions, or have your R commands stored in text files which can be
930
your sessions, or have your R commands stored in text files which can be
964
read in using `source()'.
931
read in using `source()'.
965
 
932
 
966
     *Note:*  If you run R from within Emacs (see *Note R and Emacs::), you
933
     *Note*:  If you run R from within Emacs (see *Note R and Emacs::), you
967
     can save the contents of the interaction buffer to a file and
934
     can save the contents of the interaction buffer to a file and
968
     conveniently manipulate it using `ess-transcript-mode', as well as
935
     conveniently manipulate it using `ess-transcript-mode', as well as
969
     save source copies of all functions and data used.
936
     save source copies of all functions and data used.
970
 
937
 
971
3.3.2 Models
938
3.3.2 Models
Line 1128... Line 1095...
1128
 
1095
 
1129
   * R disallows repeated formal arguments in function calls.
1096
   * R disallows repeated formal arguments in function calls.
1130
 
1097
 
1131
   * In S, `dump()', `dput()' and `deparse()' are essentially different
1098
   * In S, `dump()', `dput()' and `deparse()' are essentially different
1132
     interfaces to the same code.  In R from version 2.0.0, this is only
1099
     interfaces to the same code.  In R from version 2.0.0, this is only
1133
     true if the same values are passed in the `forDisplay' and `useSource'
1100
     true if the same `control' argument is used, but by default it is not.
1134
     arguments, but by default they are not.  By default `dump()' tries to
-
 
1135
     write code that will evaluate to reproduce the object, whereas
1101
     By default `dump()' tries to write code that will evaluate to
1136
     `dput()' and `deparse()' default to options for producing deparsed
1102
     reproduce the object, whereas `dput()' and `deparse()' default to
1137
     code that is readable.
1103
     options for producing deparsed code that is readable.
1138
 
1104
 
1139
 
1105
 
1140
   There are also differences which are not intentional, and result from
1106
   There are also differences which are not intentional, and result from
1141
missing or incorrect code in R.  The developers would appreciate hearing
1107
missing or incorrect code in R.  The developers would appreciate hearing
1142
about any deficiencies you may find (in a written report fully documenting
1108
about any deficiencies you may find (in a written report fully documenting
Line 1218... Line 1184...
1218
--------------------------
1184
--------------------------
1219
 
1185
 
1220
The R distribution comes with the following packages:
1186
The R distribution comes with the following packages:
1221
 
1187
 
1222
*base*
1188
*base*
1223
     Base R functions and datasets.
1189
     Base R functions (and datasets before R 2.0).
-
 
1190
 
-
 
1191
*datasets*
-
 
1192
     Base R datasets (added in R 2.0).
-
 
1193
 
-
 
1194
*grDevices*
-
 
1195
     Graphics devices for base and grid graphics (added in R 2.0).
1224
 
1196
 
1225
*graphics*
1197
*graphics*
1226
     R functions for base graphics.
1198
     R functions for base graphics.
1227
 
1199
 
1228
*grid*
1200
*grid*
Line 1396... Line 1368...
1396
 
1368
 
1397
*MCMCpack*
1369
*MCMCpack*
1398
     Markov chain Monte Carlo (MCMC) package: functions for posterior
1370
     Markov chain Monte Carlo (MCMC) package: functions for posterior
1399
     simulation for a number of statistical models.
1371
     simulation for a number of statistical models.
1400
 
1372
 
-
 
1373
*MNP*
-
 
1374
     Fitting Bayesian Multinomial Probit models via Markov chain Monte
-
 
1375
     Carlo.  Along with the standard Multinomial Probit model, it can also
-
 
1376
     fit models with different choice sets for each observation and
-
 
1377
     complete or partial ordering of all the available alternatives.
-
 
1378
 
1401
*MPV*
1379
*MPV*
1402
     Data sets from the book "Introduction to Linear Regression Analysis"
1380
     Data sets from the book "Introduction to Linear Regression Analysis"
1403
     by D. C. Montgomery, E. A. Peck, and C. G. Vining, 2001, John Wiley and
1381
     by D. C. Montgomery, E. A. Peck, and C. G. Vining, 2001, John Wiley and
1404
     Sons.
1382
     Sons.
1405
 
1383
 
-
 
1384
*Malmig*
-
 
1385
     An implementation of Malecot migration model together with a number of
-
 
1386
     related functions.
-
 
1387
 
1406
*Matrix*
1388
*Matrix*
1407
     A Matrix package.
1389
     A Matrix package.
1408
 
1390
 
-
 
1391
*NADA*
-
 
1392
     Methods described in "Nondetects And Data Analysis: Statistics for
-
 
1393
     Censored Environmental Data" by Dennis R. Helsel, 2004, John Wiley and
-
 
1394
     Sons.
-
 
1395
 
1409
*NISTnls*
1396
*NISTnls*
1410
     A set of test nonlinear least squares examples from NIST, the U.S.
1397
     A set of test nonlinear least squares examples from NIST, the U.S.
1411
     National Institute for Standards and Technology.
1398
     National Institute for Standards and Technology.
1412
 
1399
 
1413
*Oarray*
1400
*Oarray*
1414
     Arrays with arbitrary offsets.
1401
     Arrays with arbitrary offsets.
1415
 
1402
 
-
 
1403
*PBSmapping*
-
 
1404
     Software evolved from fisheries research conducted at the Pacific
-
 
1405
     Biological Station (PBS) in Nanaimo, British Columbia, Canada.  Draws
-
 
1406
     maps and implements other GIS procedures.
-
 
1407
 
1416
*PHYLOGR*
1408
*PHYLOGR*
1417
     Manipulation and analysis of phylogenetically simulated data sets (as
1409
     Manipulation and analysis of phylogenetically simulated data sets (as
1418
     obtained from PDSIMUL in package PDAP) and phylogenetically-based
1410
     obtained from PDSIMUL in package PDAP) and phylogenetically-based
1419
     analyses using GLS.
1411
     analyses using GLS.
1420
 
1412
 
Line 1436... Line 1428...
1436
 
1428
 
1437
*RColorBrewer*
1429
*RColorBrewer*
1438
     ColorBrewer palettes for drawing nice maps shaded according to a
1430
     ColorBrewer palettes for drawing nice maps shaded according to a
1439
     variable.
1431
     variable.
1440
 
1432
 
-
 
1433
*RCurl*
-
 
1434
     Allows one to compose HTTP requests to fetch URIs, post forms, etc.,
-
 
1435
     and process the results returned by the Web server.
-
 
1436
 
1441
*RMySQL*
1437
*RMySQL*
1442
     An interface between R and the MySQL database system.
1438
     An interface between R and the MySQL database system.
1443
 
1439
 
-
 
1440
*RNetCDF*
-
 
1441
     An interface to Unidata's NetCDF library functions (version 3) and
-
 
1442
     furthermore access to Unidata's udunits calendar conversions.
-
 
1443
 
1444
*RODBC*
1444
*RODBC*
1445
     An ODBC database interface.
1445
     An ODBC database interface.
1446
 
1446
 
1447
*ROracle*
1447
*ROracle*
1448
     Oracle Database Interface driver for R.  Uses the ProC/C++ embedded
1448
     Oracle Database Interface driver for R.  Uses the ProC/C++ embedded
Line 1479... Line 1479...
1479
 
1479
 
1480
*Rcmdr*
1480
*Rcmdr*
1481
     A platform-independent basic-statistics GUI (graphical user interface)
1481
     A platform-independent basic-statistics GUI (graphical user interface)
1482
     for R, based on the *tcltk* package.
1482
     for R, based on the *tcltk* package.
1483
 
1483
 
1484
*RmSQL*
-
 
1485
     An interface between R and the mSQL database system.
-
 
1486
 
-
 
1487
*Rmpi*
1484
*Rmpi*
1488
     An interface (wrapper) to MPI (Message-Passing Interface) APIs.  It
1485
     An interface (wrapper) to MPI (Message-Passing Interface) APIs.  It
1489
     also provides an interactive R slave environment in which distributed
1486
     also provides an interactive R slave environment in which distributed
1490
     statistical computing can be carried out.
1487
     statistical computing can be carried out.
1491
 
1488
 
-
 
1489
*Rstem*
-
 
1490
     Interface to Snowball implementation of Porter's word stemming
-
 
1491
     algorithm.
-
 
1492
 
1492
*Rwave*
1493
*Rwave*
1493
     An environment for the time-frequency analysis of 1-D signals (and
1494
     An environment for the time-frequency analysis of 1-D signals (and
1494
     especially for the wavelet and Gabor transforms of noisy signals),
1495
     especially for the wavelet and Gabor transforms of noisy signals),
1495
     based on the book "Practical Time-Frequency Analysis: Gabor and Wavelet
1496
     based on the book "Practical Time-Frequency Analysis: Gabor and Wavelet
1496
     Transforms with an Implementation in S" by Rene Carmona, Wen L. Hwang
1497
     Transforms with an Implementation in S" by Rene Carmona, Wen L. Hwang
Line 1504... Line 1505...
1504
*SIN*
1505
*SIN*
1505
     A SINful approach to selection of Gaussian Graphical Markov Models.
1506
     A SINful approach to selection of Gaussian Graphical Markov Models.
1506
 
1507
 
1507
*SenSrivastava*
1508
*SenSrivastava*
1508
     Collection of datasets from "Regression Analysis, Theory, Methods and
1509
     Collection of datasets from "Regression Analysis, Theory, Methods and
1509
     Applications" by A. Sen and M. Srivastava, 1990, Springer-Verlag.
1510
     Applications" by A. Sen and M. Srivastava, 1990, Springer.
1510
 
1511
 
1511
*SoPhy*
1512
*SoPhy*
1512
     Soil Physics Tools: simulation of water flux and solute transport in
1513
     Soil Physics Tools: simulation of water flux and solute transport in
1513
     soil.
1514
     soil.
1514
 
1515
 
Line 1526... Line 1527...
1526
     Kruskal-Wallis, Kendall's Tau, Friedman's chi squared, Spearman's rho,
1527
     Kruskal-Wallis, Kendall's Tau, Friedman's chi squared, Spearman's rho,
1527
     maximum F ratio, the Pearson product moment correlation coefficiant,
1528
     maximum F ratio, the Pearson product moment correlation coefficiant,
1528
     Johnson distributions, normal scores and generalized hypergeometric
1529
     Johnson distributions, normal scores and generalized hypergeometric
1529
     distributions).
1530
     distributions).
1530
 
1531
 
-
 
1532
*UNF*
-
 
1533
     Tools for creating universal numeric fingerprints for data.
-
 
1534
 
1531
*VLMC*
1535
*VLMC*
1532
     Functions, classes & methods for estimation, prediction, and simulation
1536
     Functions, classes & methods for estimation, prediction, and simulation
1533
     (bootstrap) of VLMC (Variable Length Markov Chain) models.
1537
     (bootstrap) of VLMC (Variable Length Markov Chain) models.
1534
 
1538
 
1535
*VaR*
1539
*VaR*
Line 1539... Line 1543...
1539
     Facilities for reading XML documents and DTDs.
1543
     Facilities for reading XML documents and DTDs.
1540
 
1544
 
1541
*abind*
1545
*abind*
1542
     Combine multi-dimensional arrays.
1546
     Combine multi-dimensional arrays.
1543
 
1547
 
-
 
1548
*accuracy*
-
 
1549
     A suite of tools designed to test and improve the accuracy of
-
 
1550
     statistical computation.
-
 
1551
 
1544
*acepack*
1552
*acepack*
1545
     ACE (Alternating Conditional Expectations) and AVAS (Additivity and
1553
     ACE (Alternating Conditional Expectations) and AVAS (Additivity and
1546
     VAriance Stabilization for regression) methods for selecting regression
1554
     VAriance Stabilization for regression) methods for selecting regression
1547
     transformations.
1555
     transformations.
1548
 
1556
 
Line 1750... Line 1758...
1750
 
1758
 
1751
*dr*
1759
*dr*
1752
     Functions, methods, and datasets for fitting dimension reduction
1760
     Functions, methods, and datasets for fitting dimension reduction
1753
     regression, including pHd and inverse regression methods SIR and SAVE.
1761
     regression, including pHd and inverse regression methods SIR and SAVE.
1754
 
1762
 
-
 
1763
*drfit*
-
 
1764
     Dose-response data evaluation.
-
 
1765
 
1755
*dse*
1766
*dse*
1756
     Dynamic System Estimation, a multivariate time series package.
1767
     Dynamic System Estimation, a multivariate time series package.
1757
     Contains *dse1* (the base system, including multivariate ARMA and state
1768
     Contains *dse1* (the base system, including multivariate ARMA and state
1758
     space models), *dse2* (extensions for evaluating estimation
1769
     space models), *dse2* (extensions for evaluating estimation
1759
     techniques, forecasting, and for evaluating forecasting model),
1770
     techniques, forecasting, and for evaluating forecasting model),
Line 1769... Line 1780...
1769
     (E1071), including moments, short-time Fourier transforms, Independent
1780
     (E1071), including moments, short-time Fourier transforms, Independent
1770
     Component Analysis, Latent Class Analysis, support vector machines, and
1781
     Component Analysis, Latent Class Analysis, support vector machines, and
1771
     fuzzy clustering, shortest path computation, bagged clustering, and
1782
     fuzzy clustering, shortest path computation, bagged clustering, and
1772
     some more.
1783
     some more.
1773
 
1784
 
-
 
1785
*eba*
-
 
1786
     Fitting and testing probabilistic choice models, especially the BTL,
-
 
1787
     elimination-by-aspects (EBA), and preference tree (Pretree) models.
-
 
1788
 
1774
*effects*
1789
*effects*
1775
     Graphical and tabular effect displays, e.g., of interactions, for
1790
     Graphical and tabular effect displays, e.g., of interactions, for
1776
     linear and generalised linear models.
1791
     linear and generalised linear models.
1777
 
1792
 
1778
*eha*
1793
*eha*
Line 1815... Line 1830...
1815
 
1830
 
1816
*exactRankTests*
1831
*exactRankTests*
1817
     Computes exact p-values and quantiles using an implementation of the
1832
     Computes exact p-values and quantiles using an implementation of the
1818
     Streitberg/Roehmel shift algorithm.
1833
     Streitberg/Roehmel shift algorithm.
1819
 
1834
 
-
 
1835
*fBasics*
-
 
1836
     The Rmetrics module for "Markets, basic statistics, and date and time
-
 
1837
     management".  Rmetrics is an environment and software collection for
-
 
1838
     teaching financial engineering and computational finance
-
 
1839
     (`http://www.Rmetrics.org/').
-
 
1840
 
-
 
1841
*fExtremes*
-
 
1842
     The Rmetrics module for "Beyond the Sample, Dealing with Extreme
-
 
1843
     Values".
-
 
1844
 
-
 
1845
*fOptions*
-
 
1846
     The Rmetrics module for "The Valuation of Options".
-
 
1847
 
-
 
1848
*fSeries*
-
 
1849
     The Rmetrics module for "The Dynamical Process Behind Financial
-
 
1850
     Markets".
-
 
1851
 
-
 
1852
*faraway*
-
 
1853
     Functions and datasets for books by Julian Faraway.
-
 
1854
 
1820
*fastICA*
1855
*fastICA*
1821
     Implementation of FastICA algorithm to perform Independent Component
1856
     Implementation of FastICA algorithm to perform Independent Component
1822
     Analysis (ICA) and Projection Pursuit.
1857
     Analysis (ICA) and Projection Pursuit.
1823
 
1858
 
1824
*fda*
1859
*fda*
Line 1866... Line 1901...
1866
     Features and strings for nonparametric regression.
1901
     Features and strings for nonparametric regression.
1867
 
1902
 
1868
*g.data*
1903
*g.data*
1869
     Create and maintain delayed-data packages (DDP's).
1904
     Create and maintain delayed-data packages (DDP's).
1870
 
1905
 
-
 
1906
*gRbase*
-
 
1907
     A package for graphical modelling in R.  Defines S4 classes for
-
 
1908
     graphical meta data and graphical models, and illustrates how
-
 
1909
     hierarchical log-linear models may be implemented and combined with
-
 
1910
     *dynamicGraph*.
-
 
1911
 
1871
*gafit*
1912
*gafit*
1872
     Genetic algorithm for curve fitting.
1913
     Genetic algorithm for curve fitting.
1873
 
1914
 
-
 
1915
*gam*
-
 
1916
     Functions for fitting and working with Generalized Additive Models, as
-
 
1917
     described in chapter 7 of the White Book, and in "Generalized Additive
-
 
1918
     Models" by T. Hastie and R. Tibshirani (1990).
-
 
1919
 
1874
*gap*
1920
*gap*
1875
     Genetic analysis package for both population and family data.
1921
     Genetic analysis package for both population and family data.
1876
 
1922
 
1877
*gbm*
1923
*gbm*
1878
     Generalized Boosted Regression Models: implements extensions to Freund
1924
     Generalized Boosted Regression Models: implements extensions to Freund
Line 1977... Line 2023...
1977
 
2023
 
1978
*hier.part*
2024
*hier.part*
1979
     Hierarchical Partitioning: variance partition of a multivariate data
2025
     Hierarchical Partitioning: variance partition of a multivariate data
1980
     set.
2026
     set.
1981
 
2027
 
-
 
2028
*hierfstat*
-
 
2029
     Estimation of hierarchical F-statistics from haploid or diploid genetic
-
 
2030
     data with any numbers of levels in the hierarchy, and tests for the
-
 
2031
     significance of each F and variance components.
-
 
2032
 
1982
*homals*
2033
*homals*
1983
     Homogeneity Analysis (HOMALS) package with optional Tcl/Tk interface.
2034
     Homogeneity Analysis (HOMALS) package with optional Tcl/Tk interface.
1984
 
2035
 
1985
*httpRequest*
2036
*httpRequest*
1986
     Implements HTTP Request protocols (GET, POST, and multipart POST
2037
     Implements HTTP Request protocols (GET, POST, and multipart POST
Line 2049... Line 2100...
2049
     single least squares fit.
2100
     single least squares fit.
2050
 
2101
 
2051
*lasso2*
2102
*lasso2*
2052
     Routines and documentation for solving regression problems while
2103
     Routines and documentation for solving regression problems while
2053
     imposing an L1 constraint on the estimates, based on the algorithm of
2104
     imposing an L1 constraint on the estimates, based on the algorithm of
2054
     Osborne et al. (1998)
2105
     Osborne et al. (1998).
2055
 
2106
 
2056
*lattice*
2107
*lattice*
2057
     Lattice graphics, an implementation of Trellis Graphics functions.
2108
     Lattice graphics, an implementation of Trellis Graphics functions.
2058
     _Recommended_.
2109
     _Recommended_.
2059
 
2110
 
Line 2165... Line 2216...
2165
     models.
2216
     models.
2166
 
2217
 
2167
*merror*
2218
*merror*
2168
     Accuracy and precision of measurements.
2219
     Accuracy and precision of measurements.
2169
 
2220
 
-
 
2221
*mfp*
-
 
2222
     Multiple Fractional Polynomials.
-
 
2223
 
2170
*mgcv*
2224
*mgcv*
2171
     Routines for GAMs and other genralized ridge regression problems with
2225
     Routines for GAMs and other genralized ridge regression problems with
2172
     multiple smoothing parameter selection by GCV or UBRE.  _Recommended_.
2226
     multiple smoothing parameter selection by GCV or UBRE.  _Recommended_.
2173
 
2227
 
2174
*mimR*
2228
*mimR*
2175
     An R interface to MIM for graphical modeling in R.
2229
     An R interface to MIM for graphical modeling in R.
2176
 
2230
 
-
 
2231
*mitools*
-
 
2232
     Tools to perform analyses and combine results from multiple-imputation
-
 
2233
     datasets.
-
 
2234
 
2177
*mix*
2235
*mix*
2178
     Estimation/multiple imputation programs for mixed categorical and
2236
     Estimation/multiple imputation programs for mixed categorical and
2179
     continuous data.
2237
     continuous data.
2180
 
2238
 
2181
*mixreg*
2239
*mixreg*
Line 2348... Line 2406...
2348
 
2406
 
2349
*pixmap*
2407
*pixmap*
2350
     Functions for import, export, plotting and other manipulations of
2408
     Functions for import, export, plotting and other manipulations of
2351
     bitmapped images.
2409
     bitmapped images.
2352
 
2410
 
-
 
2411
*plotrix*
-
 
2412
     Various useful functions for enhancing plots.
-
 
2413
 
2353
*pls.pcr*
2414
*pls.pcr*
2354
     Multivariate regression by PLS and PCR.
2415
     Multivariate regression by PLS and PCR.
2355
 
2416
 
2356
*polspline*
2417
*polspline*
2357
     Routines for the polynomial spline fitting routines hazard regression,
2418
     Routines for the polynomial spline fitting routines hazard regression,
Line 2423... Line 2484...
2423
     Fitting Gaussian linear models where the covariance structure is a
2484
     Fitting Gaussian linear models where the covariance structure is a
2424
     linear combination of known matrices by maximising the residual log
2485
     linear combination of known matrices by maximising the residual log
2425
     likelihood.  Can be used for multivariate models and random effects
2486
     likelihood.  Can be used for multivariate models and random effects
2426
     models.
2487
     models.
2427
 
2488
 
-
 
2489
*reldist*
-
 
2490
     Functions for the comparison of distributions, including nonparametric
-
 
2491
     estimation of the relative distribution PDF and CDF and numerical
-
 
2492
     summaries as described in "Relative Distribution Methods in the Social
-
 
2493
     Sciences" by Mark S. Handcock and Martina Morris, 1999, Springer.
-
 
2494
 
2428
*relimp*
2495
*relimp*
2429
     Functions to facilitate inference on the relative importance of
2496
     Functions to facilitate inference on the relative importance of
2430
     predictors in a linear or generalized linear model.
2497
     predictors in a linear or generalized linear model.
2431
 
2498
 
2432
*rgdal*
2499
*rgdal*
Line 2448... Line 2515...
2448
 
2515
 
2449
*rmeta*
2516
*rmeta*
2450
     Functions for simple fixed and random effects meta-analysis for
2517
     Functions for simple fixed and random effects meta-analysis for
2451
     two-sample comparison of binary outcomes.
2518
     two-sample comparison of binary outcomes.
2452
 
2519
 
-
 
2520
*rmetasim*
-
 
2521
     An interface between R and the metasim simulation engine.  Facilitates
-
 
2522
     the use of the metasim engine to build and run individual based
-
 
2523
     population genetics simulations.
-
 
2524
 
2453
*rpart*
2525
*rpart*
2454
     Recursive PARTitioning and regression trees.  _Recommended_.
2526
     Recursive PARTitioning and regression trees.  _Recommended_.
2455
 
2527
 
2456
*rpart.permutation*
2528
*rpart.permutation*
2457
     Permutation tests of rpart models.
2529
     Permutation tests of rpart models.
Line 2461... Line 2533...
2461
     PVM APIs, and examples and documentation for its use.
2533
     PVM APIs, and examples and documentation for its use.
2462
 
2534
 
2463
*rqmcmb2*
2535
*rqmcmb2*
2464
     Markov chain marginal bootstrap for quantile regression.
2536
     Markov chain marginal bootstrap for quantile regression.
2465
 
2537
 
-
 
2538
*rrcov*
-
 
2539
     Functions for robust location and scatter estimation and robust
-
 
2540
     regression with high breakdown point.
-
 
2541
 
2466
*rsprng*
2542
*rsprng*
2467
     Provides interface to SPRNG (Scalable Parallel Random Number
2543
     Provides interface to SPRNG (Scalable Parallel Random Number
2468
     Generators) APIs, and examples and documentation for its use.
2544
     Generators) APIs, and examples and documentation for its use.
2469
 
2545
 
2470
*sampfling*
2546
*sampfling*
Line 2533... Line 2609...
2533
     for the skewed t distribution of Fernandez and Steel.
2609
     for the skewed t distribution of Fernandez and Steel.
2534
 
2610
 
2535
*sm*
2611
*sm*
2536
     Software linked to the book "Applied Smoothing Techniques for Data
2612
     Software linked to the book "Applied Smoothing Techniques for Data
2537
     Analysis:  The Kernel Approach with S-PLUS Illustrations" by A. W.
2613
     Analysis:  The Kernel Approach with S-PLUS Illustrations" by A. W.
2538
     Bowman and A. Azzalini (1997), Oxford University Press.
2614
     Bowman and A. Azzalini, 1997, Oxford University Press.
2539
 
2615
 
2540
*sma*
2616
*sma*
2541
     Functions for exploratory (statistical) microarray analysis.
2617
     Functions for exploratory (statistical) microarray analysis.
2542
 
2618
 
2543
*smoothSurv*
2619
*smoothSurv*
Line 2635... Line 2711...
2635
     Three-Stage Least Squares (3SLS).
2711
     Three-Stage Least Squares (3SLS).
2636
 
2712
 
2637
*tapiR*
2713
*tapiR*
2638
     Tools for accessing (UK) parliamentary information in R.
2714
     Tools for accessing (UK) parliamentary information in R.
2639
 
2715
 
-
 
2716
*taskPR*
-
 
2717
     Task-Parallel R package.
-
 
2718
 
2640
*tensor*
2719
*tensor*
2641
     Tensor product of arrays.
2720
     Tensor product of arrays.
2642
 
2721
 
2643
*tkrplot*
2722
*tkrplot*
2644
     Simple mechanism for placing R graphics in a Tk widget.
2723
     Simple mechanism for placing R graphics in a Tk widget.
Line 2661... Line 2740...
2661
     method.
2740
     method.
2662
 
2741
 
2663
*udunits*
2742
*udunits*
2664
     Interface to Unidata's routines to convert units.
2743
     Interface to Unidata's routines to convert units.
2665
 
2744
 
-
 
2745
*urn*
-
 
2746
     Functions for sampling without replacement (simulated urns).
-
 
2747
 
2666
*urca*
2748
*urca*
2667
     Unit root and cointegration tests for time series data.
2749
     Unit root and cointegration tests for time series data.
2668
 
2750
 
2669
*vardiag*
2751
*vardiag*
2670
     Interactive variogram diagnostics.
2752
     Interactive variogram diagnostics.
Line 2678... Line 2760...
2678
     ecologists.
2760
     ecologists.
2679
 
2761
 
2680
*verify*
2762
*verify*
2681
     Construction of test suites using verify objects.
2763
     Construction of test suites using verify objects.
2682
 
2764
 
-
 
2765
*vioplot*
-
 
2766
     Violin plots, which are a combination of a box plot and a kernel
-
 
2767
     density plot.
-
 
2768
 
2683
*waveslim*
2769
*waveslim*
2684
     Basic wavelet routines for time series analysis.
2770
     Basic wavelet routines for time series analysis.
2685
 
2771
 
2686
*wavethresh*
2772
*wavethresh*
2687
     Software to perform 1-d and 2-d wavelet statistics and transforms.
2773
     Software to perform 1-d and 2-d wavelet statistics and transforms.
Line 2720... Line 2806...
2720
     series package.  Contains PADI, juice and monitoring extensions.
2806
     series package.  Contains PADI, juice and monitoring extensions.
2721
 
2807
 
2722
*ensemble*
2808
*ensemble*
2723
     Ensembles of tree classifiers.
2809
     Ensembles of tree classifiers.
2724
 
2810
 
-
 
2811
*rcom*
-
 
2812
     R COM Client Interface and internal COM Server.
-
 
2813
 
2725
*runStat*
2814
*runStat*
2726
     Running median and mean.
2815
     Running median and mean.
2727
 
2816
 
2728
*write.snns*
2817
*write.snns*
2729
     Function for writing a SNNS pattern file from a data frame or matrix.
2818
     Function for writing a SNNS pattern file from a data frame or matrix.
Line 2942... Line 3031...
2942
 
3031
 
2943
*SAGElyzer*
3032
*SAGElyzer*
2944
     Locates genes based on SAGE tags.
3033
     Locates genes based on SAGE tags.
2945
 
3034
 
2946
*SNAData*
3035
*SNAData*
2947
     Data from the book "Social Network Analysis" by Wasserman & Faust
3036
     Data from the book "Social Network Analysis" by Wasserman & Faust,
2948
     (1999).
3037
     1999.
2949
 
3038
 
2950
*aCGH*
3039
*aCGH*
2951
     Classes and functions for Array Comparative Genomic Hybridization data.
3040
     Classes and functions for Array Comparative Genomic Hybridization data.
2952
 
3041
 
2953
*affy*
3042
*affy*
Line 3234... Line 3323...
3234
at the R prompt.
3323
at the R prompt.
3235
 
3324
 
3236
   This produces something like
3325
   This produces something like
3237
 
3326
 
3238
     Packages in `/home/me/lib/R':
3327
     Packages in `/home/me/lib/R':
3239
     
3328
 
3240
     mystuff       My own R functions, nicely packaged but not documented
3329
     mystuff       My own R functions, nicely packaged but not documented
3241
     
3330
 
3242
     Packages in `/usr/local/lib/R/library':
3331
     Packages in `/usr/local/lib/R/library':
3243
     
3332
 
3244
     KernSmooth    Functions for kernel smoothing for Wand & Jones (1995)
3333
     KernSmooth    Functions for kernel smoothing for Wand & Jones (1995)
3245
     MASS          Main Package of Venables and Ripley's MASS
3334
     MASS          Main Package of Venables and Ripley's MASS
3246
     base          The R base package
3335
     base          The R base package
3247
     boot          Bootstrap R (S-Plus) Functions (Canty)
3336
     boot          Bootstrap R (S-Plus) Functions (Canty)
3248
     class         Functions for Classification
3337
     class         Functions for Classification
Line 3323... Line 3412...
3323
Also, the developers do not have access to all possible machines capable of
3412
Also, the developers do not have access to all possible machines capable of
3324
running R.  So, simply using it and communicating problems is certainly of
3413
running R.  So, simply using it and communicating problems is certainly of
3325
great value.
3414
great value.
3326
 
3415
 
3327
   One place where functionality is still missing is the modeling software
3416
   One place where functionality is still missing is the modeling software
3328
as described in "Statistical Models in S" (see *Note What is S?::);
3417
as described in "Statistical Models in S" (see *Note What is S?::); some of
3329
Generalized Additive Models (*note Are GAMs implemented in R?::) and some
-
 
3330
of the nonlinear modeling code are not there yet.
3418
the nonlinear modeling code is not there yet.
3331
 
3419
 
3332
   The R Developer Page (http://developer.R-project.org/) acts as an
3420
   The R Developer Page (http://developer.R-project.org/) acts as an
3333
intermediate repository for more or less finalized ideas and plans for the
3421
intermediate repository for more or less finalized ideas and plans for the
3334
R statistical system.  It contains (pointers to) TODO lists, RFCs, various
3422
R statistical system.  It contains (pointers to) TODO lists, RFCs, various
3335
other writeups, ideas lists, and CVS miscellanea.
3423
other writeups, ideas lists, and CVS miscellanea.
Line 3379... Line 3467...
3379
page (http://ESS.R-project.org/).  The HTML version of the documentation
3467
page (http://ESS.R-project.org/).  The HTML version of the documentation
3380
can be found at `http://stat.ethz.ch/ESS/'.
3468
can be found at `http://stat.ethz.ch/ESS/'.
3381
 
3469
 
3382
   ESS comes with detailed installation instructions.
3470
   ESS comes with detailed installation instructions.
3383
 
3471
 
3384
   For help with ESS, send email to <ESS-help@stat.ethz.ch>.
3472
   For help with ESS, send email to <ESS-help@stat.math.ethz.ch>.
3385
 
3473
 
3386
   Please send bug reports and suggestions on ESS to
3474
   Please send bug reports and suggestions on ESS to
3387
<ESS-bugs@stat.math.ethz.ch>.  The easiest way to do this from is within
3475
<ESS-bugs@stat.math.ethz.ch>.  The easiest way to do this from is within
3388
Emacs by typing `M-x ess-submit-bug-report' or using the [ESS] or [iESS]
3476
Emacs by typing `M-x ess-submit-bug-report' or using the [ESS] or [iESS]
3389
pulldown menus.
3477
pulldown menus.
Line 3733... Line 3821...
3733
expression.  For example, if `ahat' is an estimator of your parameter a of
3821
expression.  For example, if `ahat' is an estimator of your parameter a of
3734
interest, use
3822
interest, use
3735
 
3823
 
3736
     title(substitute(hat(a) == ahat, list(ahat = ahat)))
3824
     title(substitute(hat(a) == ahat, list(ahat = ahat)))
3737
 
3825
 
3738
(note that it is `==' and not `=').  There are more worked examples in the
3826
(note that it is `==' and not `=').  Sometimes `bquote()' gives a more
3739
mailing list achives.
3827
compact form, e.g.,
-
 
3828
 
-
 
3829
     title(bquote(hat(a) = .(ahat)))
-
 
3830
 
-
 
3831
where subexpressions enclosed in `.()' are replaced by their values.
-
 
3832
 
-
 
3833
   There are more worked examples in the mailing list achives.
3740
 
3834
 
3741
7.16 What are valid names?
3835
7.16 What are valid names?
3742
==========================
3836
==========================
3743
 
3837
 
3744
When creating data frames using `data.frame()' or `read.table()', R by
3838
When creating data frames using `data.frame()' or `read.table()', R by
Line 3781... Line 3875...
3781
     strings file "names".
3875
     strings file "names".
3782
 
3876
 
3783
7.17 Are GAMs implemented in R?
3877
7.17 Are GAMs implemented in R?
3784
===============================
3878
===============================
3785
 
3879
 
3786
There is a `gam()' function for Generalized Additive Models in package
3880
Package *gam* from CRAN implements all the Generalized Additive Models
-
 
3881
(GAM) functionality as described in the GAM chapter of the White Book.  In
-
 
3882
particular, it implements backfitting with both local regression and
-
 
3883
smoothing splines, and is extendable.  There is a `gam()' function for GAMs
3787
*mgcv*, but it is not an exact clone of what is described in the White Book
3884
in package *mgcv*, but it is not an exact clone of what is described in the
3788
(no `lo()' for example).  Package *gss* can fit spline-based GAMs too.  And
3885
White Book (no `lo()' for example).  Package *gss* can fit spline-based
3789
if you can accept regression splines you can use `glm()'.  For gaussian
3886
GAMs too.  And if you can accept regression splines you can use `glm()'.
3790
GAMs you can use `bruto()' from package *mda*.
3887
For gaussian GAMs you can use `bruto()' from package *mda*.
3791
 
3888
 
3792
7.18 Why is the output not printed when I source() a file?
3889
7.18 Why is the output not printed when I source() a file?
3793
==========================================================
3890
==========================================================
3794
 
3891
 
3795
Most R commands do not generate any output. The command
3892
Most R commands do not generate any output. The command
Line 3964... Line 4061...
3964
and of browsers.  For further details please consult section "Enabling
4061
and of browsers.  For further details please consult section "Enabling
3965
search in HTML help" in `R Installation and Administration'.  This manual is
4062
search in HTML help" in `R Installation and Administration'.  This manual is
3966
included in the R distribution, *note What documentation exists for R?::,
4063
included in the R distribution, *note What documentation exists for R?::,
3967
and its HTML version is linked from the HTML search page.
4064
and its HTML version is linked from the HTML search page.
3968
 
4065
 
-
 
4066
7.27 Why did my .Rprofile stop working when I updated R?
-
 
4067
========================================================
-
 
4068
 
-
 
4069
Did you read the `NEWS' file?  For functions that are not in the *base*
-
 
4070
package you need to specify the correct package namespace, since the code
-
 
4071
will be run _before_ the packages are loaded.  E.g.,
-
 
4072
 
-
 
4073
     ps.options(horizontal = FALSE)
-
 
4074
     help.start()
-
 
4075
 
-
 
4076
needs to be
-
 
4077
 
-
 
4078
     graphics::ps.options(horizontal = FALSE)
-
 
4079
     utils::help.start()
-
 
4080
 
3969
8 R Programming
4081
8 R Programming
3970
***************
4082
***************
3971
 
4083
 
3972
8.1 How should I write summary methods?
4084
8.1 How should I write summary methods?
3973
=======================================
4085
=======================================