Commit 859f39f8 authored by Dirk Eddelbuettel's avatar Dirk Eddelbuettel

Import Debian changes 3.0.1-2

r-base (3.0.1-2) unstable; urgency=low

  * doc/manual: Apply changes from upstream (SVN revs 62773 + 62778) to
    permit compilation of the manuals under both texinfo 4 and texinfo 5

  * debian/rules: No longer temporarily disabled moving info files now
    that they build correctly with texinfo 5 as well.
parent d3187efe
r-base (3.0.1-2) unstable; urgency=low
* doc/manual: Apply changes from upstream (SVN revs 62773 + 62778) to
permit compilation of the manuals under both texinfo 4 and texinfo 5
* debian/rules: No longer temporarily disabled moving info files now
that they build correctly with texinfo 5 as well.
-- Dirk Eddelbuettel <edd@debian.org> Thu, 23 May 2013 21:36:21 -0500
r-base (3.0.1-1) unstable; urgency=low
* New upstream version released this morning
......
......@@ -457,9 +457,9 @@ install-arch-stamp:
touch install-indep-stamp
# edd 06 Dec 2006 lintian wants them compressed with -9, and R
# seems to pre-zip them lower
# edd 12 May 2013 FIXME gunzip -9v $(debtmp)/usr/share/info/*.gz
gunzip -9v $(debtmp)/usr/share/info/*.gz
# move files for r-doc-info
# edd 12 May 2013 FIXME dh_movefiles --sourcedir=debian/$(corepackage) -p$(infopackage)
dh_movefiles --sourcedir=debian/$(corepackage) -p$(infopackage)
# deal with stupid automake / install-info issue (cf #235713)
rm -vf $(debinf)/usr/share/info/dir \
$(debinf)/usr/share/info/dir.old
......
......@@ -2863,7 +2863,7 @@ Solaris.} Further, the versions of @command{texi2dvi} and
@file{texinfo.tex} need to be compatible: we have seen problems with
older @TeX{} distributions (TeXLive 2007 and MiKTeX 2.8) used with
@pkg{texinfo} 4.13. It should be possible to use @command{makeinfo}
version 5.0, but e.g..@: 4.13 produces better-formatted output.
version 5.x.
@cindex Vignettes
The PDF documentation (including @file{doc/NEWS.pdf}) and building
......
......@@ -17,16 +17,18 @@ S
@acronym{HTML}
@end macro
@macro eqn {t, a}
@iftex
@macro eqn {t, a}
@tex
$\t\$%
@end tex
@end macro
@end iftex
@ifnottex
@macro eqn {t, a}
\a\@c
@end ifnottex
@end macro
@end ifnottex
@macro pkg {p}
@strong{\p\}
......
......@@ -84,7 +84,9 @@ Copyright @copyright{} 1997-- R Core Team@*
@top An Introduction to R
This is an introduction to R (``GNU S''), a language and environment for
statistical computing and graphics. R is similar to the award-winning S
statistical computing and graphics. R is similar to the
award-winning@footnote{ACM Software Systems award, 1998:
@uref{http://awards.acm.org/award_winners/chambers_6640862.cfm}.} S
system, which was developed at Bell Laboratories by John Chambers et al.
It provides a wide variety of statistical and graphical techniques
(linear and nonlinear modelling, statistical tests, time series
......@@ -149,8 +151,8 @@ A. This should give some familiarity with the style of @R{} sessions
and more importantly some instant feedback on what actually happens.
Many users will come to @R{} mainly for its graphical facilities.
@ref{Graphics} on the graphics facilities can be read at almost any time
and need not wait until all the preceding sections have been digested.
@xref{Graphics} which can be read at almost any time and need not wait
until all the preceding sections have been digested.
@menu
* Introduction and preliminaries::
......@@ -1981,12 +1983,27 @@ is available, so we could have used @code{B <- t(A)}.
@node Matrix facilities, Forming partitioned matrices, Generalized transpose of an array, Arrays and matrices
@section Matrix facilities
@iftex
@macro xTx{}
@eqn{@strong{x}^T @strong{x}, x'x}
@tex
$@strong{x}^T @strong{x}$%
@end tex
@end macro
@macro xxT{}
@eqn{@strong{x}@strong{x}^T, x x'}
@tex
$@strong{x}@strong{x}^T$%
@end tex
@end macro
@end iftex
@ifnottex
@macro xTx{}
x'x
@end macro
@macro xxT{}
x x'
@end macro
@end ifnottex
As noted above, a matrix is just an array with two subscripts. However
it is such an important special case it needs a separate discussion.
......@@ -2039,10 +2056,12 @@ is the matrix product. If @code{x} is a vector, then
> x %*% A %*% x
@end example
@c This strange formatting is needed to get @eqn to work inside
@c @footnote in makeinfo 5.x. Check footnote 16 in the HTML version
@noindent
is a quadratic form.@footnote{Note that @code{x %*% x} is ambiguous, as
it could mean either @xTx{} or @xxT{}, where @eqn{@strong{x},x} is the
column form. In such cases the smaller matrix seems implicitly to be
it could mean either @xTx{} or @xxT{}, where @eqn{@strong{x},x}
is the column form. In such cases the smaller matrix seems implicitly to be
the interpretation adopted, so the scalar @xTx{} is in this case the
result. The matrix @xxT{} may be calculated either by @code{cbind(x)
%*% x} or @code{x %*% rbind(x)} since the result of @code{rbind()} or
......@@ -2103,13 +2122,17 @@ but rarely is needed. Numerically, it is both inefficient and
potentially unstable to compute @code{x <- solve(A) %*% b} instead of
@code{solve(A,b)}.
@c This strange formatting is needed to get @eqn to work inside
@c @footnote in makeinfo 5.x. Check footnote 17 in the HTML version
The quadratic form @eqn{@strong{x^T A^{-1} x},@ @code{x %*% A^@{-1@} %*%
x} @ } which is used in multivariate computations, should be computed by
something like@footnote{Even better would be to form a matrix square
root @eqn{B, B} with @eqn{A = BB^T, A = BB'} and find the squared length of the
solution of @eqn{By = x, By = x}, perhaps using the Cholesky or
eigendecomposition of @eqn{A, A}.} @code{x %*% solve(A,x)}, rather than
computing the inverse of @code{A}.
root @eqn{B, B}
with @eqn{A = BB^T, A = BB'}
and find the squared length of the solution of
@eqn{By = x, By = x}
, perhaps using the Cholesky or eigen decomposition of @eqn{A, A}.
} @code{x %*% solve(A,x)}, rather than computing the inverse of @code{A}.
@node Eigenvalues and eigenvectors, Singular value decomposition and determinants, Linear equations and inversion, Matrix facilities
@subsection Eigenvalues and eigenvectors
......@@ -2728,9 +2751,9 @@ rather than entered during an @R{} session at the keyboard. @R{} input
facilities are simple and their requirements are fairly strict and even
rather inflexible. There is a clear presumption by the designers of
@R{} that you will be able to modify your input files using other tools,
such as file editors or Perl@footnote{Under UNIX, the utilities Sed or
Awk can be used.} to fit in with the requirements of @R{}. Generally
this is very simple.
such as file editors or Perl@footnote{Under UNIX, the utilities
@command{sed} or@command{awk} can be used.} to fit in with the
requirements of @R{}. Generally this is very simple.
If variables are to be held mainly in data frames, as we strongly
suggest they should be, an entire data frame can be read directly with
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment