Krause and Olson, The Basics of S and S-PLUS Springer-Verlag New York, 1997 Errata and Updates Page 4, Table 1.1: UNIX systems supported by S-PLUS is out of date. Page 5, line -4 (line 4 from the bottom) Reads: ... which has become _Data under DOS/Windows The data directory can also be .Data under Windows32s Page 34, Example 3.2 Do not use variables of name "c" Page 39, line 3 Reads: > data <- c(197, 8, 1.8, ...) Should read: > data <- c(197, 8, 2.2, ...) Page 47, line 8f. S-PLUS displays the row names of a data frame for numerical data, but omits them for factors (Version 4/4.5 Windows, Ver 3.4 SGI) Reads: > EU Austria France Germany Switzerland EU EU EU non-EU Should read (for the variable EU) > EU EU EU EU non-EU Page 55, line 22 Reads: ... it often contains a hyperlink to the ... Hyperlinks are specific for the Windows version. Page 73, line 13 Reads: .. and a single line on top and on the left of the graph. Should read: and a single line on top and on the right of the graph. Page 77, Exercise 5.1 Reads: in the interval $[-2\pi, 2\pi]$ Should read: in the interval from -10 to 10 Page 77, Exercise 5.2 Reads: ... the property that in polar coordinates, Should read: ... the property that a point ... Page 109, line 5 Reads: an extreme value Should read:an extreme value Page 118, line 11: The Multivariate Normal Distribution S-PLUS 4.0 now has the built-in function rmvnorm. Page 127, line 6 Reads: ...have a Chi-square distribution Should read: ...have an asymptotic Chi-square distribution Page 127, line -4 Reads: ... the probability of sticking with the null hypothesis although the alternative is correct. Should read: ... the probability of rejecting the null hypothesis when the alternative is correct. Page 134, line -12 Reads: function probsamp Should read: function sample Page 135, line 9 Reads: 1-pchisq(test.stat) Should read: 1-pchisq(test.stat, 6) Page 136, line 4 Reads: plot(corners.x, corners.y, type="l", xlab="", ylab="", axes=F) Should read: plot(corners.x, corners.y, type="l", xlab="", ylab="") Page 137, line 16 Reads: pi.est <- (length(runif... Should read: pi.est <- (sum(runif... Page 145, line 7 Reads: two types of models fit Should read: two types of model fits Page 148, line 12 Reads: par(mfrow=c(3,2) Should read: par(mfrow=c(3,2)) Page 159, line 20 Reads: neweduc1 and educ2 Should read: newxeduc1 and newxeduc2 Page 180, line -6 Reads: classes matrix, numeric, and lm numeric is no "class" in Splus prior to version 5 Page 208, line 5 Reads: round(dollars) Should read: round(capital[years+1]) Page 209, line -12 .Data NT stores data in :\winnt\profiles\\S_WORK. If Windows 3.x cannot find a data directory, it uses $SHOME\HOME, where $SHOME is an environment variable Page 218, Example 10.3 The C function needs to be changed, as "the returned value of a C or Fortran function is lost, so all returned data must be passed back via the argument list.", see the programmer's manual. void cubic(double *x, double *xcube) { *xcube=(*x)*(*x)*(*x); return; } Page 218, Example 10.4 The S-PLUS function needs to be changed to cubic <- function (x) { xcube <- 0 the.cube <- .C ("cubic", as.double(x), as.double(xcube)) xcube <- the.cube[[2]] return (xcube) } Page 224, line -10 Reads: library ("C:\\SPLUS\\LIBRARY") library (libraryname) must be used, where libraryname resides as a directory in the library path. Page 230, line 13 Reads: http://www.statlib.edu Should read: http://lib.stat.cmu.edu (as on page 233) Page 233, line 18 Reads: http://www.stat.mat.ethz.ch/S-FAQ Should read: http://www.stat.math.ethz.ch/S-FAQ">http://www.stat.math.ethz.ch/S-FAQ Page 233, references 1, 6, and 7 The s-news mailing list has moved to a new address. Posting to the entire list: s-news@wubios.wustl.edu Administration (subscribe, unsubscribe): s-news-request@wubios.wustl.edu Put the command(s) in the body of the message, one per line. End with the command end if your mailer adds signatures. Some commands available: help info s-news subscribe s-news subscribe s-news-digest unsubscribe s-news unsubscribe s-news-digest Problems that require human intervention: s-news-owner@wubios.wustl.edu There is now a searchable archive at http://www.biostat.wustl.edu/s-news/ Page 233, reference 2 The new link is http://cm.bell-labs.com/cm/ms/departments/sia/index.html Page 233, reference 3 The new link is http://cm.bell-labs.com/cm/ms/departments/sia/project/trellis/index.html