The R Project SVN R

Rev

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

Rev 11368 Rev 11631
Line 1... Line 1...
1
R FAQ
1
R FAQ
2
Frequently Asked Questions on R
2
Frequently Asked Questions on R
3
Version 1.1-25, 2000-11-14
3
Version 1.1-32, 2000-11-30
4
Kurt Hornik
4
Kurt Hornik
5
 
5
 
6
 
6
 
7
Table of Contents
7
Table of Contents
8
*****************
8
*****************
Line 337... Line 337...
337
2.6 Are there Unix binaries for R?
337
2.6 Are there Unix binaries for R?
338
==================================
338
==================================
339
 
339
 
340
   The `bin/linux' directory of a CRAN site contains Debian 2.2/2.3
340
   The `bin/linux' directory of a CRAN site contains Debian 2.2/2.3
341
packages for the i386 platform (now part of the Debian distribution and
341
packages for the i386 platform (now part of the Debian distribution and
342
maintained by Doug Bates), Red Hat 6.x packages for the alpha, i386 and
342
maintained by Doug Bates), Red Hat 6.x packages for the alpha and sparc
343
sparc platforms (maintained by Naoki Takebayashi, Martyn Plummer, and Vin
343
platforms and 6.x/7.x packages for the i386 platform (maintained by Naoki
344
Everett, respectively), SuSE 5.3/6.4/7.0 i386 packages by Albrecht
344
Takebayashi, Vin Everett, and Martyn Plummer, respectively), SuSE
345
Gebhardt, Mandrake 7.1 i386 packages by Michele Alzetta, and Linuxppc 5.0
345
5.3/6.4/7.0 i386 packages by Albrecht Gebhardt, Mandrake 7.1 i386 packages
346
RPMs by Alex Buerkle.
346
by Michele Alzetta, and Linuxppc 5.0 RPMs by Alex Buerkle.
347
 
347
 
348
   The Debian packages can be accessed through APT, the Debian package
348
   The Debian packages can be accessed through APT, the Debian package
349
maintenance tool.  Simply add the line
349
maintenance tool.  Simply add the line
350
 
350
 
351
     deb http://cran.r-project.org/bin/linux/debian DISTRIBUTION main
351
     deb http://cran.r-project.org/bin/linux/debian DISTRIBUTION main
Line 548... Line 548...
548
   To "submit" to CRAN, simply upload to
548
   To "submit" to CRAN, simply upload to
549
`ftp://cran.r-project.org/incoming/' and send an email to
549
`ftp://cran.r-project.org/incoming/' and send an email to
550
<wwwadmin@cran.r-project.org>.
550
<wwwadmin@cran.r-project.org>.
551
 
551
 
552
     *Note:*  It is very important that you indicate the copyright
552
     *Note:*  It is very important that you indicate the copyright
553
     (license) information (GPL, BSD, Artistic, ...) in your submission.
553
     (license) information (GPL, BSD, Artistic, ...)  in your submission.
554
 
554
 
555
   Please always use the URL of the master site when referring to CRAN.
555
   Please always use the URL of the master site when referring to CRAN.
556
 
556
 
557
3 R and S
557
3 R and S
558
*********
558
*********
Line 1104... Line 1104...
1104
*SASmixed*
1104
*SASmixed*
1105
     Data sets and sample linear mixed effects analyses corresponding to the
1105
     Data sets and sample linear mixed effects analyses corresponding to the
1106
     examples in "SAS System for Mixed Models" by R. C. Littell, G. A.
1106
     examples in "SAS System for Mixed Models" by R. C. Littell, G. A.
1107
     Milliken, W. W. Stroup and R. D. Wolfinger, 1996, SAS Institute.
1107
     Milliken, W. W. Stroup and R. D. Wolfinger, 1996, SAS Institute.
1108
 
1108
 
-
 
1109
*XML*
-
 
1110
     Facilities for reading XML documents and DTDs.
-
 
1111
 
1109
*acepack*
1112
*acepack*
1110
     ACE (Alternating Conditional Expectations) and AVAS (Additivity and
1113
     ACE (Alternating Conditional Expectations) and AVAS (Additivity and
1111
     VAriance Stabilization for regression) methods for selecting regression
1114
     VAriance Stabilization for regression) methods for selecting regression
1112
     transformations.
1115
     transformations.
1113
 
1116
 
Line 1298... Line 1301...
1298
     two-sample comparison of binary outcomes.
1301
     two-sample comparison of binary outcomes.
1299
 
1302
 
1300
*rpart*
1303
*rpart*
1301
     Recursive PARTitioning and regression trees.
1304
     Recursive PARTitioning and regression trees.
1302
 
1305
 
-
 
1306
*scatterplot3d*
-
 
1307
     Plots a three dimensional (3D) point cloud perspectively.
-
 
1308
 
1303
*sgeostat*
1309
*sgeostat*
1304
     An object-oriented framework for geostatistical modeling.
1310
     An object-oriented framework for geostatistical modeling.
1305
 
1311
 
1306
*sm*
1312
*sm*
1307
     Software linked to the book "Applied Smoothing Techniques for Data
1313
     Software linked to the book "Applied Smoothing Techniques for Data
Line 1356... Line 1362...
1356
   There is also a CRAN `src/contrib/Devel' directory which contains
1362
   There is also a CRAN `src/contrib/Devel' directory which contains
1357
packages still "under development" or depending on features only present in
1363
packages still "under development" or depending on features only present in
1358
the current development versions of R.  Volunteers are invited to give
1364
the current development versions of R.  Volunteers are invited to give
1359
these a try, of course.  This area of CRAN currently contains
1365
these a try, of course.  This area of CRAN currently contains
1360
 
1366
 
-
 
1367
*GRASS*
-
 
1368
     Interface between the GRASS geographical information system and R,
-
 
1369
     based on starting R from within the GRASS environment and chosen
-
 
1370
     LOCATION and MAPSET.  Wrapper and helper functions are provided for a
-
 
1371
     range of R functions to match the interface metadata structures.
-
 
1372
 
1361
*HTML*
1373
*HTML*
1362
     Functions for exporting R objects as HTML tables.
1374
     Functions for exporting R objects as HTML tables.
1363
 
1375
 
1364
*Java*
-
 
1365
     An interface from R to Java to create and call Java objects and
-
 
1366
     methods.
-
 
1367
 
-
 
1368
*RMySQL*
1376
*RMySQL*
1369
     An interface between R and the MySQL database system.
1377
     An interface between R and the MySQL database system.
1370
 
1378
 
-
 
1379
*StatDataML*
-
 
1380
     Read and write StatDataML
-
 
1381
 
1371
*cmprsk*
1382
*cmprsk*
1372
     Estimation, testing and regression modeling of subdistribution
1383
     Estimation, testing and regression modeling of subdistribution
1373
     functions in competing risks.
1384
     functions in competing risks.
1374
 
1385
 
1375
*cxx*
1386
*cxx*
Line 1405... Line 1416...
1405
     Multivariate normal and t distributions.
1416
     Multivariate normal and t distributions.
1406
 
1417
 
1407
*netCDF*
1418
*netCDF*
1408
     Read data from netCDF files.
1419
     Read data from netCDF files.
1409
 
1420
 
1410
*syskern*
1421
*npConfRatio*
1411
     Functions for writing code that is OS and R/S independent.
1422
     Nonparametric confidence intervals for the ratios of medians.
1412
 
1423
 
1413
*tframe*
1424
*regexp*
1414
     Functions for writing code that is independent of the representation of
1425
     Simple regular expression interface.
1415
     time.
-
 
1416
 
1426
 
1417
*timeslab*
1427
*timeslab*
1418
     Time series routines.
1428
     Time series routines.
1419
 
1429
 
-
 
1430
   Directory `src/contrib/Omegahat' contains yet unreleased packages from
-
 
1431
the Omegahat Project for Statistical Computing (http://www.omegahat.org).
-
 
1432
Currently, there are
-
 
1433
 
-
 
1434
*Java*
-
 
1435
     An interface from R to Java to create and call Java objects and
-
 
1436
     methods.
-
 
1437
 
-
 
1438
*RSPerl*
-
 
1439
     An interface from R to an embedded, persistent Perl interpreter,
-
 
1440
     allowing one to call arbitrary Perl subroutines, classes and methods.
-
 
1441
 
1420
   Jim Lindsey <jlindsey@luc.ac.be> has written a collection of R packages
1442
   Jim Lindsey <jlindsey@luc.ac.be> has written a collection of R packages
1421
for nonlinear regression and repeated measurements, consisting of *event*
1443
for nonlinear regression and repeated measurements, consisting of *event*
1422
(event history procedures and models), *gnlm* (generalized nonlinear
1444
(event history procedures and models), *gnlm* (generalized nonlinear
1423
regression models), *growth* (multivariate normal and
1445
regression models), *growth* (multivariate normal and
1424
elliptically-contoured repeated measurements models), *repeated*
1446
elliptically-contoured repeated measurements models), *repeated*
Line 1440... Line 1462...
1440
   (Unix only.)  The add-on packages on CRAN come as gzipped tar files
1462
   (Unix only.)  The add-on packages on CRAN come as gzipped tar files
1441
named `PKG_VERSION.tar.gz', which may in fact be "bundles" containing more
1463
named `PKG_VERSION.tar.gz', which may in fact be "bundles" containing more
1442
than one package.  Provided that `tar' and `gzip' are available on your
1464
than one package.  Provided that `tar' and `gzip' are available on your
1443
system, type
1465
system, type
1444
 
1466
 
1445
     $ R INSTALL /path/to/PKG_VERSION.tar.gz
1467
     $ R CMD INSTALL /path/to/PKG_VERSION.tar.gz
1446
 
1468
 
1447
at the shell prompt to install to the default R directory tree (the
1469
at the shell prompt to install to the default R directory tree (the
1448
`library' subdirectory of `R_HOME').  To install to another tree (e.g.,
1470
`library' subdirectory of `R_HOME').  To install to another tree (e.g.,
1449
your private one), use
1471
your private one), use
1450
 
1472
 
1451
     $ R INSTALL -l LIB /path/to/PKG_VERSION.tar.gz
1473
     $ R CMD INSTALL -l LIB /path/to/PKG_VERSION.tar.gz
1452
 
1474
 
1453
where LIB gives the path to the library tree to install to.
1475
where LIB gives the path to the library tree to install to.
1454
 
1476
 
1455
   Even more conveniently, you can install and automatically update
1477
   Even more conveniently, you can install and automatically update
1456
packages from within R if you have access to CRAN.  See the help page for
1478
packages from within R if you have access to CRAN.  See the help page for
Line 1523... Line 1545...
1523
=======================================
1545
=======================================
1524
 
1546
 
1525
   To remove the packages PKG_1, ..., PKG_N from the default library or the
1547
   To remove the packages PKG_1, ..., PKG_N from the default library or the
1526
library LIB, do
1548
library LIB, do
1527
 
1549
 
1528
     $ R REMOVE PKG_1 ... PKG_N
1550
     $ R CMD REMOVE PKG_1 ... PKG_N
1529
 
1551
 
1530
or
1552
or
1531
 
1553
 
1532
     $ R REMOVE -l LIB PKG_1 ... PKG_N
1554
     $ R CMD REMOVE -l LIB PKG_1 ... PKG_N
1533
 
1555
 
1534
respectively.
1556
respectively.
1535
 
1557
 
1536
5.5 How can I create an R package?
1558
5.5 How can I create an R package?
1537
==================================
1559
==================================