From dfa2e1710d42c7288b15f4bd545b2659dfe2735f Mon Sep 17 00:00:00 2001 From: hornik Date: Tue, 26 Aug 2025 06:40:08 +0000 Subject: [PATCH 1/6] Updated. git-svn-id: https://svn.r-project.org/R/trunk@88703 00db46b3-68df-0310-9c12-caf00c1e9a41 --- share/bibliographies/stats.R | 313 +++++++++++++++++++++++++++++++++-- 1 file changed, 303 insertions(+), 10 deletions(-) diff --git a/share/bibliographies/stats.R b/share/bibliographies/stats.R index 0346f77f9f..74bf121681 100644 --- a/share/bibliographies/stats.R +++ b/share/bibliographies/stats.R @@ -1726,16 +1726,6 @@ bibentry(bibtype = "Book", year = "1999", publisher = "Academic Press") -bibentry(bibtype = "Book", - key = "R:Hand+Taylor:1987", - author = c(person(given = c("D.", "J."), - family = "Hand"), - person(given = c("C.", "C."), - family = "Taylor")), - title = "Multivariate Analysis of Variance and Repeated Measures: A Practical Approach for Behavioural Scientists", - publisher = "Chapman & Hall/CRC", - year = "1987") - bibentry(bibtype = "Book", key = "R:Hollander+Wolfe:1973", author = c(person(given = "Myles", @@ -2612,3 +2602,306 @@ bibentry(bibtype = "Article", pages = "236--244", year = "1963", doi = "10.1080/01621459.1963.10500845") + +bibentry(bibtype = "Book", + key = "R:Gower+Hand:1996", + author = c(person(given = c("J.", "C."), + family = "Gower"), + person(given = c("D.", "J."), + family = "Hand")), + title = "Biplots", + publisher = "Chapman & Hall", + year = "1996", + address = "London", + isbn = "0412716305", + pointers = "https://permalink.obvsg.at/AC01154200") + +bibentry(bibtype = "Book", + key = "R:Cox+Cox:2001", + author = c(person(given = c("Trevor", "F."), + family = "Cox"), + person(given = c("Michael", "A.", "A."), + family = "Cox")), + title = "Multidimensional Scaling", + publisher = "Chapman & Hall", + year = "2001", + address = "Boca Raton, FL", + edition = "Second", + isbn = "1584880945", + pointers = "https://permalink.obvsg.at/AC03174073") + +bibentry(bibtype = "Book", + key = "R:Torgerson:1958", + author = person(given = c("Warren", "S."), + family = "Torgerson"), + title = "Theory and Methods of Scaling", + publisher = "Wiley", + year = "1958", + address = "New York, NY", + isbn = "0471879452", + pointers = "https://permalink.obvsg.at/AC00362223") + +bibentry(bibtype = "Book", + key = "R:Brillinger:1981", + author = person(given = c("David", "R."), + family = "Brillinger"), + title = "Time Series: Data Analysis and Theory", + publisher = "Holden-Day", + year = "1981", + address = "San Francisco, CA", + isbn = "0816211507", + pointers = "https://permalink.obvsg.at/AC00048763") + +bibentry(bibtype = "Book", + key = "R:Kendall+Stuart:1983", + author = c(person(given = c("Maurice", "G."), + family = "Kendall"), + person(given = "Alan", + family = "Stuart")), + title = "The Advanced Theory of Statistics", + publisher = "Griffin", + year = "1983", + volume = "3", + address = "London", + pointers = "https://permalink.obvsg.at/AC00452847") + +bibentry(bibtype = "Proceedings", + key = "R:Griewank+Corliss:1991", + title = "Automatic Differentiation of Algorithms: Theory, Implementation, and Application", + year = "1991", + editor = c(person(given = "Andreas", + family = "Griewank"), + person(given = c("George", "F."), + family = "Corliss")), + series = "SIAM proceedings series", + address = "Philadelphia", + publisher = "SIAM", + isbn = "089871284X", + pointers = "https://permalink.obvsg.at/AC00452667") + +bibentry(bibtype = "Book", + key = "R:Borg+Groenen:1997", + author = c(person(given = "Ingwer", + family = "Borg"), + person(given = "Patrick", + family = "Groenen")), + title = "Modern Multidimensional Scaling: Theory and Applications", + publisher = "Springer", + year = "1997", + series = "Springer Series in Statistics", + address = "New York, NY", + doi = "10.1007/978-1-4757-2711-1", + isbn = "9781475727111", + pointers = "https://permalink.obvsg.at/AC11900578") + +bibentry(bibtype = "Book", + key = "R:Heiberger:1989", + author = person(given = c("Richard", "M."), + family = "Heiberger"), + title = "Computation for the Analysis of Designed Experiments", + publisher = "Wiley", + year = "1989", + address = "New York, NY", + isbn = "0471827355", + pointers = "https://permalink.obvsg.at/AC00136499") + +bibentry(bibtype = "Book", + key = "R:Thomson:1951", + author = person(given = c("Godfrey", "H."), + family = "Thomson"), + title = "The Factorial Analysis of Human Ability", + publisher = "University of London Press", + year = "1951", + address = "London") + +bibentry(bibtype = "Book", + key = "R:Cox+Snell:1981", + author = c(person(given = c("David", "R."), + family = "Cox"), + person(given = c("Eleanor", "J."), + family = "Snell")), + title = "Applied Statistics; Principles and Examples", + publisher = "Chapman & Hall", + year = "1981", + address = "London", + isbn = "0412165708", + pointers = "https://permalink.obvsg.at/AC01211758") + +bibentry(bibtype = "Book", + key = "R:Fox:2000", + author = person(given = "John", + family = "Fox"), + title = "Applied Regression, Linear Models, and Related Methods", + publisher = "Sage Publications", + year = "2000", + address = "Thousand Oaks, CA", + isbn = "080394540X", + pointers = "https://permalink.obvsg.at/AC03469417") + +bibentry(bibtype = "Book", + key = "R:Fox:2002", + author = person(given = "John", + family = "Fox"), + title = "An {R} and {S-Plus} Companion to Applied Regression", + publisher = "Sage Publications", + year = "2002", + address = "Thousand Oaks, CA", + isbn = "9780761922803", + pointers = "https://permalink.obvsg.at/AC03524631") + +bibentry(bibtype = "Book", + key = "R:Fox+Weisberg:2019", + author = c(person(given = "John", + family = "Fox"), + person(given = "Sanford", + family = "Weisberg")), + title = "An {R} Companion to Applied Regression", + publisher = "Sage Publications", + year = "2019", + address = "Los Angeles, CA", + edition = "Third", + url = "https://www.john-fox.ca/Companion/", + isbn = "9781544336473", + pointers = "https://permalink.obvsg.at/AC15259426") + +bibentry(bibtype = "Book", + key = "R:Barlow+Bartholomew+Bremner:1972", + author = c(person(given = c("Richard", "E."), + family = "Barlow"), + person(given = c("D.", "J."), + family = "Bartholomew"), + person(given = c("J.", "M."), + family = "Bremner"), + person(given = c("H.", "D."), + family = "Brunk")), + title = "Statistical Inference Under Order Restrictions: Theory and Application of Isotonic Regression", + publisher = "Wiley", + year = "1972", + address = "London", + isbn = "978-0471049708") + +bibentry(bibtype = "Book", + key = "R:Robertson+Wright+Dykstra:1988", + author = c(person(given = "Tim", + family = "Robertson"), + person(given = c("F.", "T."), + family = "Wright"), + person(given = c("Richard", "L."), + family = "Dykstra")), + title = "Order Restricted Statistical Inference", + publisher = "Wiley", + year = "1988", + address = "Chicester", + isbn = "0471917877", + pointers = "https://permalink.obvsg.at/AC00777751") + +bibentry(bibtype = "InCollection", + key = "R:Emerson+Hoaglin:1983", + author = c(person(given = c("J.", "D."), + family = "Emerson"), + person(given = c("David", "C."), + family = "Hoaglin")), + title = "Resistant Lines for $y$ versus $x$", + booktitle = "Understanding Robust and Exploratory Data Analysis", + publisher = "Wiley", + year = "1983", + editor = c(person(given = c("David", "C."), + family = "Hoaglin"), + person(given = "Frederick", + family = "Mosteller"), + person(given = c("John", "Wilder"), + family = "Tukey")), + chapter = "5", + address = "New York, NY", + isbn = "0471097772", + pointers = "https://permalink.obvsg.at/AC00058269") + +bibentry(bibtype = "Book", + key = "R:Hand+Taylor:1987", + author = c(person(given = c("David", "J."), + family = "Hand"), + person(given = c("C.", "C."), + family = "Taylor")), + title = "Multivariate Analysis of Variance and Repeated Measures", + publisher = "Chapman & Hall", + year = "1987", + address = "London", + isbn = "0412258005", + pointers = "https://permalink.obvsg.at/AC00198293") + +bibentry(bibtype = "Book", + key = "R:Anderson:1958", + author = person(given = c("Theodore", "W."), + family = "Anderson"), + title = "An Introduction to Multivariate Statistical Analysis", + publisher = "Wiley", + year = "1958", + address = "New York, NY", + isbn = "0471026409", + pointers = "https://permalink.obvsg.at/AC00161015") + +bibentry(bibtype = "Book", + key = "R:Dennis+Schnabel:1983", + author = c(person(given = c("J.", "E."), + family = "Dennis"), + person(given = c("Robert", "B."), + family = "Schnabel")), + title = "Numerical Methods for Unconstrained Optimization and Nonlinear Equations", + publisher = "Prentice Hall", + year = "1983", + address = "Englewood Cliffs, NJ", + isbn = "0136272169", + pointers = "https://permalink.obvsg.at/AC00113896") + +bibentry(bibtype = "TechReport", + key = "R:Gay:1990", + author = person(given = c("David", "M."), + family = "Gay"), + title = "Usage Summary for Selected Optimization Routines", + institution = "AT&T Bell Laboratories", + year = "1990", + type = "Computing Science Technical Report", + number = "153", + address = "Murray Hill, NJ") + +bibentry(bibtype = "InCollection", + key = "R:Firth:1991", + author = person(given = "David", + family = "Firth"), + title = "Generalized Linear Models", + booktitle = "Statistical Theory and Modelling: In Honour of {Sir David Cox, FRS}", + publisher = "Chapman & Hall", + year = "1991", + editor = c(person(given = c("David", "V."), + family = "Hinkley"), + person(given = "N.", + family = "Reid"), + person(given = c("Eleanor.", "J."), + family = "Snell")), + pages = "55--82", + address = "London") + +bibentry(bibtype = "Book", + key = "R:Kennedy+Gentle:1980", + author = c(person(given = c("William", "J."), + family = "Kennedy"), + person(given = c("James", "E."), + family = "Gentle")), + title = "Statistical Computing", + publisher = "Marcel Dekker", + year = "1980", + address = "New York", + isbn = "0824768981", + pointers = "https://permalink.obvsg.at/AC03019632") + +bibentry(bibtype = "Book", + key = "R:Anderson:1984", + author = person(given = c("Theodore", "W."), + family = "Anderson"), + title = "An Introduction to Multivariate Statistical Analysis", + publisher = "Wiley", + year = "1984", + address = "New York, NY", + edition = "Second", + isbn = "0471889873", + pointers = "https://permalink.obvsg.at/AC00053986") From 07ce4e932508ada01e5883498b08d0a5e6fe6680 Mon Sep 17 00:00:00 2001 From: hornik Date: Tue, 26 Aug 2025 06:40:17 +0000 Subject: [PATCH 2/6] Auto-generate citations and references. git-svn-id: https://svn.r-project.org/R/trunk@88704 00db46b3-68df-0310-9c12-caf00c1e9a41 --- src/library/stats/man/biplot.Rd | 7 ++----- src/library/stats/man/cmdscale.Rd | 12 +++--------- src/library/stats/man/convolve.Rd | 4 +--- src/library/stats/man/decompose.Rd | 5 ++--- src/library/stats/man/deriv.Rd | 8 ++------ src/library/stats/man/dist.Rd | 5 +---- src/library/stats/man/eff.aovlist.Rd | 3 +-- src/library/stats/man/factanal.Rd | 12 ++++-------- src/library/stats/man/family.Rd | 5 +---- src/library/stats/man/influence.measures.Rd | 18 ++++-------------- src/library/stats/man/isoreg.Rd | 7 ++----- src/library/stats/man/line.Rd | 16 +++++----------- src/library/stats/man/manova.Rd | 7 ++----- src/library/stats/man/mauchly.test.Rd | 3 +-- src/library/stats/man/nlm.Rd | 8 ++------ src/library/stats/man/nlminb.Rd | 5 +---- src/library/stats/man/plot.lm.Rd | 7 +------ src/library/stats/man/poly.Rd | 6 ++---- src/library/stats/man/summary.manova.Rd | 12 ++++++------ 19 files changed, 43 insertions(+), 107 deletions(-) diff --git a/src/library/stats/man/biplot.Rd b/src/library/stats/man/biplot.Rd index e45289c4f1..dd3579048d 100644 --- a/src/library/stats/man/biplot.Rd +++ b/src/library/stats/man/biplot.Rd @@ -66,11 +66,8 @@ biplot(x, \dots) a plot is produced on the current graphics device. } \references{ - \bibshow{R:Gabriel:1971} - - J.C. Gower and D. J. Hand (1996). - \emph{Biplots}. - Chapman & Hall. + \bibshow{R:Gabriel:1971, + R:Gower+Hand:1996} } \seealso{\code{\link{biplot.princomp}}, also for examples.} \keyword{hplot} diff --git a/src/library/stats/man/cmdscale.Rd b/src/library/stats/man/cmdscale.Rd index 2f9978136e..56bef87665 100644 --- a/src/library/stats/man/cmdscale.Rd +++ b/src/library/stats/man/cmdscale.Rd @@ -86,17 +86,11 @@ cmdscale(d, k = 2, eig = FALSE, add = FALSE, x.ret = FALSE, \bibinfo{R:Mardia+Kent+Bibby:1979}{footer}{Chapter 14} \bibshow{*, R:Becker+Chambers+Wilks:1988, + R:Cox+Cox:2001, R:Krzanowski+Marriott:1994, R:Mardia+Kent+Bibby:1979, - R:Seber:1984} - - Cox, T. F. and Cox, M. A. A. (2001). - \emph{Multidimensional Scaling}. Second edition. - Chapman and Hall. - - Torgerson, W. S. (1958). - \emph{Theory and Methods of Scaling}. - New York: Wiley. + R:Seber:1984, + R:Torgerson:1958} } \seealso{ \code{\link{dist}}. diff --git a/src/library/stats/man/convolve.Rd b/src/library/stats/man/convolve.Rd index 98d7e40a8b..48625d375c 100644 --- a/src/library/stats/man/convolve.Rd +++ b/src/library/stats/man/convolve.Rd @@ -48,9 +48,7 @@ convolve(x, y, conj = TRUE, type = c("circular", "open", "filter")) \eqn{x_{j} := x_{n+j}}{x[j] := x[n+j]} for \eqn{j < 1}. } \references{ - Brillinger, D. R. (1981) - \emph{Time Series: Data Analysis and Theory}, Second Edition. - San Francisco: Holden-Day. + \bibshow{R:Brillinger:1981} } \seealso{\code{\link{fft}}, \code{\link{nextn}}, and particularly \code{\link{filter}} (from the \pkg{stats} package) which may be diff --git a/src/library/stats/man/decompose.Rd b/src/library/stats/man/decompose.Rd index 25ab449828..4c546d8fc4 100644 --- a/src/library/stats/man/decompose.Rd +++ b/src/library/stats/man/decompose.Rd @@ -56,9 +56,8 @@ decompose(x, type = c("additive", "multiplicative"), filter = NULL) \item{type}{The value of \code{type}.} } \references{ - M. Kendall and A. Stuart (1983) - \emph{The Advanced Theory of Statistics}, Vol.3, - Griffin. pp.\sspace{}410--414. + \bibinfo{R:Kendall+Stuart:1983}{note}{Pages 410--414} + \bibshow{R:Kendall+Stuart:1983} } \author{ David Meyer \email{David.Meyer@wu.ac.at} diff --git a/src/library/stats/man/deriv.Rd b/src/library/stats/man/deriv.Rd index 30f9010a64..44273390dd 100644 --- a/src/library/stats/man/deriv.Rd +++ b/src/library/stats/man/deriv.Rd @@ -94,12 +94,8 @@ deriv3(expr, \dots) expression. } \references{ - Griewank, A. and Corliss, G. F. (1991) - \emph{Automatic Differentiation of Algorithms: Theory, Implementation, - and Application}. - SIAM proceedings, Philadelphia. - - \bibshow{R:Bates+Chambers:1992} + \bibshow{R:Bates+Chambers:1992, + R:Griewank+Corliss:1991} } \seealso{ \code{\link{nlm}} and \code{\link{optim}} for numeric minimization diff --git a/src/library/stats/man/dist.Rd b/src/library/stats/man/dist.Rd index e697a942e1..8b6a7662a3 100644 --- a/src/library/stats/man/dist.Rd +++ b/src/library/stats/man/dist.Rd @@ -134,11 +134,8 @@ as.dist(m, diag = FALSE, upper = FALSE) } \references{ \bibshow{R:Becker+Chambers+Wilks:1988, + R:Borg+Groenen:1997, R:Mardia+Kent+Bibby:1979} - - Borg, I. and Groenen, P. (1997) - \emph{Modern Multidimensional Scaling. Theory and Applications.} - Springer. } \seealso{ \code{\link[cluster]{daisy}} in the \CRANpkg{cluster} package with more diff --git a/src/library/stats/man/eff.aovlist.Rd b/src/library/stats/man/eff.aovlist.Rd index 18787467b4..7652519300 100644 --- a/src/library/stats/man/eff.aovlist.Rd +++ b/src/library/stats/man/eff.aovlist.Rd @@ -43,8 +43,7 @@ eff.aovlist(aovlist) for each fixed-effect term in the model. } \references{ - Heiberger, R. M. (1989) - \emph{Computation for the Analysis of Designed Experiments}. Wiley. + \bibshow{R:Heiberger:1989} } \seealso{ diff --git a/src/library/stats/man/factanal.Rd b/src/library/stats/man/factanal.Rd index 9e513519dd..8f62bb05f9 100644 --- a/src/library/stats/man/factanal.Rd +++ b/src/library/stats/man/factanal.Rd @@ -36,7 +36,7 @@ factanal(x, factors, data = NULL, covmat = NULL, n.obs = NA, \item{start}{\code{NULL} or a matrix of starting values, each column giving an initial set of uniquenesses.} \item{scores}{Type of scores to produce, if any. The default is none, - \code{"regression"} gives Thompson's scores, \code{"Bartlett"} given + \code{"regression"} gives Thomson's scores, \code{"Bartlett"} given Bartlett's weighted least-squares scores. Partial matching allows these names to be abbreviated.} \item{rotation}{a \code{\link{function}} or \code{\link{character}} @@ -107,9 +107,9 @@ factanal(x, factors, data = NULL, covmat = NULL, n.obs = NA, \bibcitep{|R:Lawley+Maxwell:1971|page 32}. Scores can only be produced if a data matrix is supplied and used. - The first method is the regression method of Thomson (1951), the - second the weighted least squares method of \bibcitet{R:Bartlett:1937a, - R:Thomson:1938}. + The first method is the regression method of + \bibcitet{R:Thomson:1951}, the second the weighted least squares + method of \bibcitet{R:Bartlett:1937a, R:Thomson:1938}. Both are estimates of the unobserved scores \eqn{f}. Thomson's method regresses (in the population) the unknown \eqn{f} on \eqn{x} to yield \deqn{\hat f = \Lambda^\prime \Sigma^{-1} x}{hat f = \Lambda' \Sigma^-1 x} @@ -163,10 +163,6 @@ factanal(x, factors, data = NULL, covmat = NULL, n.obs = NA, \references{ \bibshow{*} - - Thomson, G. H. (1951). - \emph{The Factorial Analysis of Human Ability}. - London University Press. } \seealso{ diff --git a/src/library/stats/man/family.Rd b/src/library/stats/man/family.Rd index 774da6c05e..364355ec1c 100644 --- a/src/library/stats/man/family.Rd +++ b/src/library/stats/man/family.Rd @@ -171,11 +171,8 @@ quasipoisson(link = "log") } \references{ \bibshow{*, + R:Cox+Snell:1981, R:Dobson:1983} - - Cox, D. R. and Snell, E. J. (1981). - \emph{Applied Statistics; Principles and Examples.} - London: Chapman and Hall. } \seealso{ \code{\link{glm}}, \code{\link{power}}, \code{\link{make.link}}. diff --git a/src/library/stats/man/influence.measures.Rd b/src/library/stats/man/influence.measures.Rd index bc6bb1b86a..fb6550230e 100644 --- a/src/library/stats/man/influence.measures.Rd +++ b/src/library/stats/man/influence.measures.Rd @@ -154,20 +154,10 @@ hat(x, intercept = TRUE) package. } \references{ - \bibshow{*} - - Fox, J. (1997). - \emph{Applied Regression, Linear Models, and Related Methods}. - Sage. - - Fox, J. (2002) - \emph{An R and S-Plus Companion to Applied Regression}. - Sage Publ. - - Fox, J. and Weisberg, S. (2019). - \emph{An R Companion to Applied Regression}, third edition. - Sage Publications. - \url{https://www.john-fox.ca/Companion/}. + \bibshow{*, + R:Fox:2000, + R:Fox:2002, + R:Fox+Weisberg:2019} } \seealso{ \code{\link{influence}} (containing \code{\link{lm.influence}}). diff --git a/src/library/stats/man/isoreg.Rd b/src/library/stats/man/isoreg.Rd index 1c51a9948b..47ae772e8c 100644 --- a/src/library/stats/man/isoreg.Rd +++ b/src/library/stats/man/isoreg.Rd @@ -54,11 +54,8 @@ isoreg(x, y = NULL) \sQuote{Patches are welcome!} } \references{ - Barlow, R. E., Bartholomew, D. J., Bremner, J. M., and Brunk, H. D. (1972) - \emph{Statistical Inference under Order Restrictions}; Wiley, London. - - Robertson, T., Wright, F. T. and Dykstra, R. L. (1988) - \emph{Order Restricted Statistical Inference}; Wiley, New York. + \bibshow{R:Barlow+Bartholomew+Bremner:1972, + R:Robertson+Wright+Dykstra:1988} } %%\author{Original C code by Brian Ripley; all else: Martin Maechler} \seealso{the plotting method \code{\link{plot.isoreg}} with more examples; diff --git a/src/library/stats/man/line.Rd b/src/library/stats/man/line.Rd index 7794c0c543..247ff553ed 100644 --- a/src/library/stats/man/line.Rd +++ b/src/library/stats/man/line.Rd @@ -45,18 +45,12 @@ line(x, y, iter = 1) \code{residuals}, \code{fitted}, and \code{print}. } \references{ - \bibshow{R:Tukey:1977} - - \bibshow{R:Velleman+Hoaglin:1981} - Chapter 5. + \bibinfo{R:Velleman+Hoaglin:1981}{note}{Chapter 5} %% MM has C version of the Fortran code for rline() there - - Emerson, J. D. and Hoaglin, D. C. (1983). - Resistant Lines for \eqn{y} versus \eqn{x}. - Chapter 5 of \emph{Understanding Robust and Exploratory Data Analysis}, - eds. David C. Hoaglin, Frederick Mosteller and John W. Tukey. Wiley. - - \bibshow{R:Johnstone+Velleman:1985} + \bibshow{R:Tukey:1977, + R:Velleman+Hoaglin:1981, + R:Emerson+Hoaglin:1983, + R:Johnstone+Velleman:1985} } \seealso{ \code{\link{lm}}. diff --git a/src/library/stats/man/manova.Rd b/src/library/stats/man/manova.Rd index 47098513c2..8095cc2951 100644 --- a/src/library/stats/man/manova.Rd +++ b/src/library/stats/man/manova.Rd @@ -29,11 +29,8 @@ manova(\dots) % the formula should not include an \code{Error} term. % } \references{ - \bibshow{R:Krzanowski:1988} - - Hand, D. J. and Taylor, C. C. (1987) - \emph{Multivariate Analysis of Variance and Repeated Measures.} - Chapman and Hall. + \bibshow{R:Hand+Taylor:1987, + R:Krzanowski:1988} } \seealso{ \code{\link{aov}}, \code{\link{summary.manova}}, the latter containing diff --git a/src/library/stats/man/mauchly.test.Rd b/src/library/stats/man/mauchly.test.Rd index d526a9849f..90a50f5f23 100644 --- a/src/library/stats/man/mauchly.test.Rd +++ b/src/library/stats/man/mauchly.test.Rd @@ -63,8 +63,7 @@ mauchly.test(object, ...) \value{An object of class \code{"htest"}} %% perhaps elaborate? \references{ - T. W. Anderson (1958). \emph{An Introduction to Multivariate - Statistical Analysis.} Wiley. + \bibshow{R:Anderson:1958} } \seealso{\code{\link{SSD}}, \code{\link{anova.mlm}}, diff --git a/src/library/stats/man/nlm.Rd b/src/library/stats/man/nlm.Rd index 2e74a16433..8cbff1388f 100644 --- a/src/library/stats/man/nlm.Rd +++ b/src/library/stats/man/nlm.Rd @@ -114,12 +114,8 @@ nlm(f, p, \dots, hessian = FALSE, typsize = rep(1, length(p)), translation of Fortran code by Richard H. Jones. } \references{ - Dennis, J. E. and Schnabel, R. B. (1983). - \emph{Numerical Methods for Unconstrained Optimization and Nonlinear - Equations}. - Prentice-Hall, Englewood Cliffs, NJ. - - \bibshow{R:Schnabel+Koonatz+Weiss:1985} + \bibshow{R:Dennis+Schnabel:1983, + R:Schnabel+Koonatz+Weiss:1985} } \seealso{ \code{\link{optim}} and \code{\link{nlminb}}. diff --git a/src/library/stats/man/nlminb.Rd b/src/library/stats/man/nlminb.Rd index 0d28cbc04e..c4f987a22a 100644 --- a/src/library/stats/man/nlminb.Rd +++ b/src/library/stats/man/nlminb.Rd @@ -106,10 +106,7 @@ nlminb(start, objective, gradient = NULL, hessian = NULL, \dots, \url{https://netlib.org/port/} } \references{ - David M. Gay (1990), - Usage summary for selected optimization routines. - Computing Science Technical Report 153, AT&T Bell Laboratories, Murray - Hill. + \bibshow{R:Gay:1990} } \author{ \R port: Douglas Bates and Deepayan Sarkar. diff --git a/src/library/stats/man/plot.lm.Rd b/src/library/stats/man/plot.lm.Rd index 71d0c74411..d2e6e3bf08 100644 --- a/src/library/stats/man/plot.lm.Rd +++ b/src/library/stats/man/plot.lm.Rd @@ -151,14 +151,9 @@ \bibshow{*, R:Belsley+Kuh+Welsch:1980, R:Cook+Weisberg:1982, + R:Firth:1991, R:Hinkley:1975, R:McCullagh+Nelder:1989} - - Firth, D. (1991) Generalized Linear Models. - In Hinkley, D. V. and Reid, N. and Snell, E. J., eds: - Pp.\sspace{}55-82 in Statistical Theory and Modelling. - In Honour of Sir David Cox, FRS. - London: Chapman and Hall. } \author{ John Maindonald and Martin Maechler. diff --git a/src/library/stats/man/poly.Rd b/src/library/stats/man/poly.Rd index 91892a50ce..70675c7904 100644 --- a/src/library/stats/man/poly.Rd +++ b/src/library/stats/man/poly.Rd @@ -83,10 +83,8 @@ polym (\dots, degree = 1, coefs = NULL, raw = FALSE) improvements for correct prediction on subsets. } \references{ - \bibshow{R:Chambers+Hastie:1992} - - Kennedy, W. J. Jr and Gentle, J. E. (1980) - \emph{Statistical Computing} Marcel Dekker. + \bibshow{R:Chambers+Hastie:1992, + R:Kennedy+Gentle:1980} } \seealso{ diff --git a/src/library/stats/man/summary.manova.Rd b/src/library/stats/man/summary.manova.Rd index 8a8165079d..3f167d32aa 100644 --- a/src/library/stats/man/summary.manova.Rd +++ b/src/library/stats/man/summary.manova.Rd @@ -36,8 +36,9 @@ approximately an F distribution. The approximations used follow S-PLUS and SAS (the latter apart from some cases of the \I{Hotelling}--\I{Lawley} statistic), but many other distributional - approximations exist: see Anderson (1984) and - \bibcitet{R:Krzanowski+Marriott:1994} for further references. All four approximate F statistics are + approximations exist: see \bibcitet{R:Anderson:1984} and + \bibcitet{R:Krzanowski+Marriott:1994} for further references. + All four approximate F statistics are the same when the term being tested has one degree of freedom, but in other cases that for the Roy statistic is an upper bound. @@ -61,10 +62,9 @@ (degrees of freedom) for the terms (and not the residuals). } \references{ - \bibshow{*, R:Krzanowski:1988} - - Anderson, T. W. (1994) \emph{An Introduction to Multivariate - Statistical Analysis.} Wiley. + \bibshow{*, + R:Anderson:1984, + R:Krzanowski:1988} } \seealso{ \code{\link{manova}}, \code{\link{aov}} From 751bc40d462ed1ab81e14dbbc4d256a90b8d35f3 Mon Sep 17 00:00:00 2001 From: hornik Date: Tue, 26 Aug 2025 07:35:43 +0000 Subject: [PATCH 3/6] Updated. git-svn-id: https://svn.r-project.org/R/trunk@88705 00db46b3-68df-0310-9c12-caf00c1e9a41 --- share/bibliographies/base.R | 40 ++++++++++++++++++++++++++++++++ share/bibliographies/grDevices.R | 2 +- share/bibliographies/graphics.R | 2 +- share/bibliographies/stats.R | 27 ++++++++++++++------- 4 files changed, 61 insertions(+), 10 deletions(-) diff --git a/share/bibliographies/base.R b/share/bibliographies/base.R index 05049eaabc..5d46853a5f 100644 --- a/share/bibliographies/base.R +++ b/share/bibliographies/base.R @@ -707,3 +707,43 @@ bibentry(bibtype = "Book", edition = "Third", isbn = "0596003307", pointers = "https://www.oreilly.com/library/view/unix-power-tools/0596003307/") + +bibentry(bibtype = "Manual", + key = "R:International_Organization_for_Standardization:2000", + title = "Data Elements and Interchange Formats --- Information Interchange --- Representation of Dates and Times", + author = person(given = "International Organization for Standardization"), + organization = "International Organization for Standardization", + address = "Geneva, Switzerland", + year = "2000", + edition = "ISO 8601:2000", + url = "https://www.iso.org/standard/26780.html") + +bibentry(bibtype = "Manual", + key = "R:International_Organization_for_Standardization:2004", + title = "Data Elements and Interchange Formats --- Information Interchange --- Representation of Dates and Times", + author = person(given = "International Organization for Standardization"), + organization = "International Organization for Standardization", + address = "Geneva, Switzerland", + year = "2004", + edition = "ISO 8601:2004", + url = "https://www.iso.org/standard/40874.html") + +bibentry(bibtype = "Manual", + key = "R:International_Organization_for_Standardization:2019", + title = "Date and Time --- Representations for Information Interchange Part 1: Basic Rules", + author = person(given = "International Organization for Standardization"), + organization = "International Organization for Standardization", + address = "Geneva, Switzerland", + edition = "ISO 8601-1:2019", + year = "2019", + url = "https://www.iso.org/standard/70907.html") + +bibentry(bibtype = "Manual", + key = "R:International_Organization_for_Standardization:2022", + title = "Date and Time --- Representations for Information Interchange Part 1: Basic Rules Amendment 1: Technical Corrections", + author = person(given = "International Organization for Standardization"), + organization = "International Organization for Standardization", + address = "Geneva, Switzerland", + edition = "ISO 8601-1:2019/Amd 1", + year = "2022", + url = "https://www.iso.org/standard/81801.html") diff --git a/share/bibliographies/grDevices.R b/share/bibliographies/grDevices.R index 395551f3ac..4dab1a60dc 100644 --- a/share/bibliographies/grDevices.R +++ b/share/bibliographies/grDevices.R @@ -30,7 +30,7 @@ bibentry(bibtype = "Article", bibentry(bibtype = "InCollection", key = "R:Emerson+Strenio:1983", - author = c(person(given = c("J.", "D"), + author = c(person(given = c("J.", "D."), family = "Emerson"), person(given = "J.", family = "Strenio")), diff --git a/share/bibliographies/graphics.R b/share/bibliographies/graphics.R index e3436e9ae6..fa87532081 100644 --- a/share/bibliographies/graphics.R +++ b/share/bibliographies/graphics.R @@ -113,7 +113,7 @@ bibentry(bibtype = "Article", number = "1", journal = "The American Statistician", publisher = "Informa UK Limited", - author = c(person(given = c("J.", "A."), + author = c(person(given = c("John", "A."), family = "Hartigan"), person(given = "Beat", family = "Kleiner")), diff --git a/share/bibliographies/stats.R b/share/bibliographies/stats.R index 74bf121681..2c2ad8dce2 100644 --- a/share/bibliographies/stats.R +++ b/share/bibliographies/stats.R @@ -250,7 +250,7 @@ bibentry(bibtype = "InCollection", family = "Chambers"), person(given = "A.", family = "Freeny"), - person(given = c("Richard", "M,"), + person(given = c("Richard", "M."), family = "Heiberger")), title = "Analysis of Variance; Designed Experiments", booktitle = "Statistical Models in {S}", @@ -1986,7 +1986,7 @@ bibentry(bibtype = "InCollection", key = "R:Davison+Snell:1991", author = c(person(given = "Anthony", family = "Davison"), - person(given = c("E.", "J."), + person(given = c("Eleanor", "J."), family = "Snell")), title = "Residuals and Diagnostics", booktitle = "Statistical Theory and Modelling. In Honour of Sir David Cox, FRS", @@ -1994,9 +1994,9 @@ bibentry(bibtype = "InCollection", year = "1991", editor = c(person(given = c("David", "V."), family = "Hinkley"), - person(given = "N.", + person(given = "Nancy", family = "Reid"), - person(given = c("E.", "J."), + person(given = c("Eleanor", "J."), family = "Snell"))) bibentry(bibtype = "Book", @@ -2389,7 +2389,7 @@ bibentry(bibtype = "TechReport", bibentry(bibtype = "InCollection", key = "R:Singleton:1979", - author = person(given = c("R.", "C."), + author = person(given = c("Richard", "C."), family = "Singleton"), title = "Mixed Radix Fast Fourier Transforms", booktitle = "Programs for Digital Signal Processing", @@ -2654,7 +2654,7 @@ bibentry(bibtype = "Book", bibentry(bibtype = "Book", key = "R:Kendall+Stuart:1983", - author = c(person(given = c("Maurice", "G."), + author = c(person(given = c("Maurice", "George"), family = "Kendall"), person(given = "Alan", family = "Stuart")), @@ -2874,9 +2874,9 @@ bibentry(bibtype = "InCollection", year = "1991", editor = c(person(given = c("David", "V."), family = "Hinkley"), - person(given = "N.", + person(given = "Nancy", family = "Reid"), - person(given = c("Eleanor.", "J."), + person(given = c("Eleanor", "J."), family = "Snell")), pages = "55--82", address = "London") @@ -2905,3 +2905,14 @@ bibentry(bibtype = "Book", edition = "Second", isbn = "0471889873", pointers = "https://permalink.obvsg.at/AC00053986") + +bibentry(bibtype = "Book", + key = "R:Luetkepohl:1991", + author = person(given = "Helmut", + family = "Lütkepohl"), + title = "Introduction to Multiple Time Series Analysis", + publisher = "Springer", + year = "1991", + address = "Berlin", + isbn = "3540531947", + pointers = "https://permalink.obvsg.at/AC00291244") From d7e47aa1e9cf1b483b2998411518f94f0b463d94 Mon Sep 17 00:00:00 2001 From: hornik Date: Tue, 26 Aug 2025 07:35:50 +0000 Subject: [PATCH 4/6] Auto-generate citations and references. git-svn-id: https://svn.r-project.org/R/trunk@88706 00db46b3-68df-0310-9c12-caf00c1e9a41 --- src/library/base/man/strptime.Rd | 12 +++++------- src/library/stats/man/ar.ols.Rd | 4 ++-- src/library/stats/man/cmdscale.Rd | 3 ++- src/library/stats/man/hclust.Rd | 2 +- 4 files changed, 10 insertions(+), 11 deletions(-) diff --git a/src/library/base/man/strptime.Rd b/src/library/base/man/strptime.Rd index 40a5a10806..bd5dd095dd 100644 --- a/src/library/base/man/strptime.Rd +++ b/src/library/base/man/strptime.Rd @@ -390,13 +390,11 @@ strptime(x, format, tz = "") } \references{ - International Organization for Standardization (2004, 2000, \dots) - \sQuote{ISO 8601. Data elements and interchange formats -- - Information interchange -- Representation of dates and times.}, - slightly updated to International Organization for Standardization (2019) - \sQuote{ISO 8601-1:2019. Date and time -- Representations for - information interchange -- Part 1: Basic rules}, and further amended - in 2022. + \bibshow{R:International_Organization_for_Standardization:2000, + R:International_Organization_for_Standardization:2004, + R:International_Organization_for_Standardization:2019, + R:International_Organization_for_Standardization:2022} + For links to versions available on-line see (at the time of writing) \url{https://dotat.at/tmp/ISO_8601-2004_E.pdf} and \url{https://www.qsl.net/g1smd/isopdf.htm}; for information on the diff --git a/src/library/stats/man/ar.ols.Rd b/src/library/stats/man/ar.ols.Rd index a2b4a8ff16..03536e1e9c 100644 --- a/src/library/stats/man/ar.ols.Rd +++ b/src/library/stats/man/ar.ols.Rd @@ -97,8 +97,8 @@ ar.ols(x, aic = TRUE, order.max = NULL, na.action = na.fail, \code{\link{ar}} } \references{ - Luetkepohl, H. (1991): \emph{Introduction to Multiple Time Series - Analysis.} Springer Verlag, NY, pp.\sspace{}368--370. + \bibinfo{R:Luetkepohl:1991}{note}{Pages 368--370} + \bibshow{R:Luetkepohl:1991} } \examples{ ar(lh, method = "burg") diff --git a/src/library/stats/man/cmdscale.Rd b/src/library/stats/man/cmdscale.Rd index 56bef87665..0658b492b6 100644 --- a/src/library/stats/man/cmdscale.Rd +++ b/src/library/stats/man/cmdscale.Rd @@ -54,7 +54,8 @@ cmdscale(d, k = 2, eig = FALSE, add = FALSE, x.ret = FALSE, c*} are Euclidean and hence can be represented in \code{n - 1} dimensions. Whereas S (Becker \abbr{et al.}, 1988) computes this constant using an approximation suggested by \I{Torgerson}, \R uses the - analytical solution of \bibcitet{R:Cailliez:1983}, see also Cox and Cox (2001). + analytical solution of \bibcitet{R:Cailliez:1983}, see also + \bibcitet{R:Cox+Cox:2001}. Note that because of numerical errors the computed eigenvalues need not all be non-negative, and even theoretically the representation could be in fewer than \code{n - 1} dimensions. diff --git a/src/library/stats/man/hclust.Rd b/src/library/stats/man/hclust.Rd index d8552201af..eee2419a6a 100644 --- a/src/library/stats/man/hclust.Rd +++ b/src/library/stats/man/hclust.Rd @@ -118,7 +118,7 @@ hclust(d, method = "complete", members = NULL) \code{"centroid"} are \emph{not} leading to a \emph{monotone distance} measure, or equivalently the resulting dendrograms can have so called \emph{inversions} or \emph{reversals} which are hard to interpret, - but note the trichotomies in Legendre and Legendre (2012). + but note the trichotomies in \bibcitet{R:Legendre+Legendre:2012}. Two different algorithms are found in the literature for Ward clustering. The one used by option \code{"ward.D"} (equivalent to the From 223b0e9115003458547d65b4583d99b4d23809ea Mon Sep 17 00:00:00 2001 From: hornik Date: Tue, 26 Aug 2025 07:37:54 +0000 Subject: [PATCH 5/6] Updated. git-svn-id: https://svn.r-project.org/R/trunk@88707 00db46b3-68df-0310-9c12-caf00c1e9a41 --- share/bibliographies/datasets.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/bibliographies/datasets.R b/share/bibliographies/datasets.R index ef762b25fe..f469922410 100644 --- a/share/bibliographies/datasets.R +++ b/share/bibliographies/datasets.R @@ -154,7 +154,7 @@ bibentry(bibtype = "Article", year = "1982", month = "12", .issn = "0037-1106", - .doi = "10.1785/BSSA07206B0043", + doi = "10.1785/BSSA07206B0043", url = "https://pubs.geoscienceworld.org/ssa/bssa/article-pdf/72/6B/S43/5330804/bssa07206b0043.pdf") bibentry(bibtype = "Article", @@ -171,7 +171,7 @@ bibentry(bibtype = "Article", year = "1984", month = "08", .issn = "0037-1106", - .doi = "10.1785/BSSA0740041441", + doi = "10.1785/BSSA0740041441", url = "https://pubs.geoscienceworld.org/ssa/bssa/article-pdf/74/4/1441/5332305/bssa0740041441.pdf") bibentry(bibtype = "Article", From e3d94e481f3879738922daa79a3fcb3b1d8e45c2 Mon Sep 17 00:00:00 2001 From: kalibera Date: Tue, 26 Aug 2025 11:05:57 +0000 Subject: [PATCH 6/6] Make file.exists() interruptible (PR#17554). git-svn-id: https://svn.r-project.org/R/trunk@88708 00db46b3-68df-0310-9c12-caf00c1e9a41 --- src/main/platform.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/platform.c b/src/main/platform.c index f2ea27b94e..6a86dd13c4 100644 --- a/src/main/platform.c +++ b/src/main/platform.c @@ -1743,13 +1743,17 @@ static /*attribute_hidden*/ bool R_WFileExists(const wchar_t *path) attribute_hidden SEXP do_fileexists(SEXP call, SEXP op, SEXP args, SEXP rho) { SEXP file, ans; - int i, nfile; + int i, nfile, ic = 16; checkArity(op, args); if (!isString(file = CAR(args))) error(_("invalid '%s' argument"), "file"); nfile = LENGTH(file); ans = PROTECT(allocVector(LGLSXP, nfile)); for (i = 0; i < nfile; i++) { + if (!(--ic)) { + R_CheckUserInterrupt(); + ic = 16; + } LOGICAL(ans)[i] = 0; if (STRING_ELT(file, i) != NA_STRING) { /* documented to silently report false for paths that would be too