bjg@network-theory.co.uk
2003-Dec-12 16:49 UTC
[Rd] proofreading corrections (cvs) (PR#5730)
Here is a patch of changes from the proof-reading of the R reference manual, made against the current cvs. regards -- Brian Gough Network Theory Ltd -- Publishing Free Software Manuals 15 Royal Park Bristol BS8 3AL United Kingdom Tel: +44 (0)117 3179309 Fax: +44 (0)117 9048108 Web: http://www.network-theory.co.uk/ Index: src/library/base/man/Arithmetic.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/Arithmetic.Rd,v retrieving revision 1.11 diff -u -r1.11 Arithmetic.Rd --- src/library/base/man/Arithmetic.Rd 2003/11/29 10:56:07 1.11 +++ src/library/base/man/Arithmetic.Rd 2003/12/12 15:44:47 @@ -30,7 +30,7 @@ by element operations. The elements of shorter vectors are recycled as necessary (with a \code{\link{warning}} when they are recycled only \emph{fractionally}). The operators are \code{+} for addition, - \code{-} for subtraction \code{*} for multiplication, \code{/} for + \code{-} for subtraction, \code{*} for multiplication, \code{/} for division and \code{^} for exponentiation. \code{\%\%} indicates \code{x mod y} and \code{\%/\%} indicates Index: src/library/base/man/Bessel.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/Bessel.Rd,v retrieving revision 1.14 diff -u -r1.14 Bessel.Rd --- src/library/base/man/Bessel.Rd 2003/02/08 13:20:43 1.14 +++ src/library/base/man/Bessel.Rd 2003/12/12 15:44:47 @@ -59,7 +59,7 @@ Chapter 9: Bessel Functions of Integer Order. } \seealso{ - Other special mathematical functions, as the + Other special mathematical functions, such as \code{\link{gamma}}, \eqn{\Gamma(x)}, and \code{\link{beta}}, \eqn{B(x)}. } Index: src/library/base/man/DateTimeClasses.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/DateTimeClasses.Rd,v retrieving revision 1.22 diff -u -r1.22 DateTimeClasses.Rd --- src/library/base/man/DateTimeClasses.Rd 2003/07/19 10:00:15 1.22 +++ src/library/base/man/DateTimeClasses.Rd 2003/12/12 15:44:47 @@ -138,7 +138,7 @@ \code{\link{weekdays.POSIXt}} for convenience extraction functions. } \section{Warning}{ - Some Unix-like systems (especially Linux ones) do not have \code{"TZ"} + Some Unix-like systems (especially GNU/Linux ones) do not have \code{"TZ"} set, yet have internal code that expects it (as does POSIX). We have tried to work around this, but if you get unexpected results try setting \code{"TZ"}. Index: src/library/base/man/Extract.data.frame.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/Extract.data.frame.Rd,v retrieving revision 1.11 diff -u -r1.11 Extract.data.frame.Rd --- src/library/base/man/Extract.data.frame.Rd 2003/08/26 13:35:55 1.11 +++ src/library/base/man/Extract.data.frame.Rd 2003/12/12 15:44:47 @@ -69,7 +69,7 @@ list is used to replace (part of) one column, recycling the list as necessary. If the columns specified by number are created, the names (if any) of the corresponding list elements are used to name the - columns. If the replacment is not selecting rows, list values can + columns. If the replacement is not selecting rows, list values can contain \code{NULL} elements which will cause the corresponding columns to be deleted. @@ -125,7 +125,7 @@ sw[4:5, 1:3] # select rows and columns sw[1] # a one-column data frame sw[, 1, drop = FALSE] # the same -sw[, 1] # a (unamed) vector +sw[, 1] # a (unnamed) vector sw[[1]] # the same sw[1,] # a one-row data frame Index: src/library/base/man/NULL.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/NULL.Rd,v retrieving revision 1.9 diff -u -r1.9 NULL.Rd --- src/library/base/man/NULL.Rd 2003/05/13 14:14:31 1.9 +++ src/library/base/man/NULL.Rd 2003/12/12 15:44:47 @@ -22,7 +22,7 @@ } \details{ \code{is.null} is generic: you can write methods to handle - of specific classes of objects, see \link{InternalMethods}. + specific classes of objects, see \link{InternalMethods}. } \arguments{ \item{x}{an object to be tested or coerced.} Index: src/library/base/man/Random.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/Random.Rd,v retrieving revision 1.40 diff -u -r1.40 Random.Rd --- src/library/base/man/Random.Rd 2003/12/09 09:11:10 1.40 +++ src/library/base/man/Random.Rd 2003/12/12 15:44:48 @@ -147,7 +147,8 @@ represent the type of normal generator (starting at \code{0}). In the underlying C, \code{.Random.seed[-1]} is \code{unsigned}; - therefore in \R \code{.Random.seed[-1]} can be negative. + therefore in \R \code{.Random.seed[-1]} can be negative, due to + the coercion of an unsigned integer to a signed integer. \code{RNGkind} returns a two-element character vector of the RNG and normal kinds in use \emph{before} the call, invisibly if either Index: src/library/base/man/Sys.info.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/Sys.info.Rd,v retrieving revision 1.11 diff -u -r1.11 Sys.info.Rd --- src/library/base/man/Sys.info.Rd 2003/07/08 00:20:18 1.11 +++ src/library/base/man/Sys.info.Rd 2003/12/12 15:44:48 @@ -42,7 +42,7 @@ The meaning of OS \dQuote{release} and \dQuote{version} is highly system-dependent and there is no guarantee that the node or login or user names will be what you might reasonably expect. - (In particular on some Linux distributions the login name is unknown + (In particular on some GNU/Linux distributions the login name is unknown from sessions with re-directed inputs.) } Index: src/library/base/man/Sys.sleep.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/Sys.sleep.Rd,v retrieving revision 1.2 diff -u -r1.2 Sys.sleep.Rd --- src/library/base/man/Sys.sleep.Rd 2003/05/08 21:45:53 1.2 +++ src/library/base/man/Sys.sleep.Rd 2003/12/12 15:44:48 @@ -13,7 +13,7 @@ \details{ Using this function allows \R to be given very low priority and hence not to interfere with more important foreground tasks. A typical use - is to allow a process lauched from \R to set itself up and read its + is to allow a process launched from \R to set itself up and read its input files before \R execution is resumed. The intention is that this function suspends execution of \R Index: src/library/base/man/UseMethod.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/UseMethod.Rd,v retrieving revision 1.6 diff -u -r1.6 UseMethod.Rd --- src/library/base/man/UseMethod.Rd 2003/12/09 09:11:10 1.6 +++ src/library/base/man/UseMethod.Rd 2003/12/12 15:44:48 @@ -71,7 +71,7 @@ Name spaces can register methods for generic functions. To support this, \code{UseMethod} and \code{NextMethod} search for methods in two places: first in the environment in which the generic function - is called, and then in the registration data base for the + is called, and then in the registration database for the environment in which the generic is defined (typically a name space). So methods for a generic function need to either be available in the environment of the call to the generic, or they must be registered. Index: src/library/base/man/agrep.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/agrep.Rd,v retrieving revision 1.4 diff -u -r1.4 agrep.Rd --- src/library/base/man/agrep.Rd 2003/10/25 09:00:00 1.4 +++ src/library/base/man/agrep.Rd 2003/12/12 15:44:48 @@ -35,8 +35,8 @@ } } \details{ - The Levensthein edit distance is used as measure of approximateness: - it is the the total number of insertions, deletions and substitutions + The Levenshtein edit distance is used as measure of approximateness: + it is the total number of insertions, deletions and substitutions required to transform one string into another. The function is a simple interface to the \code{apse} library Index: src/library/base/man/all.equal.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/all.equal.Rd,v retrieving revision 1.13 diff -u -r1.13 all.equal.Rd --- src/library/base/man/all.equal.Rd 2003/12/09 09:11:09 1.13 +++ src/library/base/man/all.equal.Rd 2003/12/12 15:44:48 @@ -47,7 +47,8 @@ If \code{scale} is positive, absolute comparisons are after scaling (dividing) by \code{scale}. - For complex arguments, \code{\link{Mod}} of difference is used. + For complex arguments, the modulus \code{\link{Mod}} of the difference + is used. \code{attr.all.equal} is used for comparing \code{\link{attributes}}, returning \code{NULL} or \code{character}. Index: src/library/base/man/approxfun.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/approxfun.Rd,v retrieving revision 1.17 diff -u -r1.17 approxfun.Rd --- src/library/base/man/approxfun.Rd 2003/12/12 09:01:49 1.17 +++ src/library/base/man/approxfun.Rd 2003/12/12 15:44:48 @@ -24,10 +24,10 @@ \item{n}{If \code{xout} is not specified, interpolation takes place at \code{n} equally spaced points spanning the interval [\code{min(x)}, \code{max(x)}].} - \item{yleft}{the value to be returned when input \code{x} values + \item{yleft}{the value to be returned when input \code{x} values are less than \code{min(x)}. The default is defined by the value of \code{rule} given below.} - \item{yright}{the value to be returned when input \code{x} values + \item{yright}{the value to be returned when input \code{x} values are greater than \code{max(x)}. The default is defined by the value of \code{rule} given below.} \item{rule}{an integer describing how interpolation is to take place Index: src/library/base/man/array.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/array.Rd,v retrieving revision 1.13 diff -u -r1.13 array.Rd --- src/library/base/man/array.Rd 2003/12/12 09:01:49 1.13 +++ src/library/base/man/array.Rd 2003/12/12 15:44:48 @@ -38,7 +38,7 @@ \code{is.array} returns \code{TRUE} or \code{FALSE} depending on whether its argument is an array (i.e., has a \code{dim} attribute) or not. It is generic: you can write methods to handle - of specific classes of objects, see \link{InternalMethods}. + specific classes of objects, see \link{InternalMethods}. } \references{ Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) Index: src/library/base/man/assign.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/assign.Rd,v retrieving revision 1.18 diff -u -r1.18 assign.Rd --- src/library/base/man/assign.Rd 2003/05/13 14:14:31 1.18 +++ src/library/base/man/assign.Rd 2003/12/12 15:44:48 @@ -32,7 +32,7 @@ used to set elements of vectors, names, attributes, etc. Note that assignment to an attached list or data frame changes the - attached copy and not the orginal object: see \code{\link{attach}}. + attached copy and not the original object: see \code{\link{attach}}. } \value{ This function is invoked for its side effect, which is assigning Index: src/library/base/man/browser.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/browser.Rd,v retrieving revision 1.7 diff -u -r1.7 browser.Rd --- src/library/base/man/browser.Rd 2003/05/13 14:14:31 1.7 +++ src/library/base/man/browser.Rd 2003/12/12 15:44:49 @@ -15,7 +15,7 @@ place. Local variables can be listed with \code{ls}, and manipulated with \R - expressions typed to this sub-interpreter. The interpreter copy is + expressions typed to this sub-interpreter. The sub-interpreter can be exited by typing \code{c}. Execution then resumes at the statement following the call to \code{browser}. Index: src/library/base/man/call.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/call.Rd,v retrieving revision 1.11 diff -u -r1.11 call.Rd --- src/library/base/man/call.Rd 2003/05/13 14:14:31 1.11 +++ src/library/base/man/call.Rd 2003/12/12 15:44:49 @@ -27,7 +27,7 @@ %NO We don't differentiate between expressions and function calls. %NO So \code{is.call} is the same as \code{is.expression}. It is generic: you can write methods to handle - of specific classes of objects, see \link{InternalMethods}. + specific classes of objects, see \link{InternalMethods}. Objects of mode \code{"list"} can be coerced to mode \code{"call"}. The first element of the list becomes the function part of the call, Index: src/library/base/man/cbind.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/cbind.Rd,v retrieving revision 1.22 diff -u -r1.22 cbind.Rd --- src/library/base/man/cbind.Rd 2003/07/30 17:25:52 1.22 +++ src/library/base/man/cbind.Rd 2003/12/12 15:44:49 @@ -26,7 +26,7 @@ The \code{rbind} data frame method takes the classes of the columns from the first - data frame. Factors are have their levels expanded as necessary (in + data frame. Factors have their levels expanded as necessary (in the order of the levels of the levelsets of the factors encountered) and the result is an ordered factor if and only if all the components were ordered factors. (The last point differs from S-PLUS.) Index: src/library/base/man/chartr.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/chartr.Rd,v retrieving revision 1.7 diff -u -r1.7 chartr.Rd --- src/library/base/man/chartr.Rd 2001/11/20 18:30:12 1.7 +++ src/library/base/man/chartr.Rd 2003/12/12 15:44:49 @@ -25,7 +25,7 @@ \code{chartr} translates each character in \code{x} that is specified in \code{old} to the corresponding character specified in \code{new}. Ranges are supported in the specifications, but character classes and - repreated characters are not. If \code{old} contains more characters + repeated characters are not. If \code{old} contains more characters than new, an error is signaled; if it contains fewer characters, the extra characters at the end of \code{new} are ignored. Index: src/library/base/man/commandArgs.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/commandArgs.Rd,v retrieving revision 1.7 diff -u -r1.7 commandArgs.Rd --- src/library/base/man/commandArgs.Rd 2003/12/09 09:26:46 1.7 +++ src/library/base/man/commandArgs.Rd 2003/12/12 15:44:49 @@ -31,7 +31,7 @@ #endif \examples{ commandArgs() -## Spawn a copy of this application as it was invoked. +## Spawn a copy of this application as it was invoked. ## system(paste(commandArgs(), collapse=" ")) } \keyword{environment} Index: src/library/base/man/complex.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/complex.Rd,v retrieving revision 1.17 diff -u -r1.17 complex.Rd --- src/library/base/man/complex.Rd 2003/11/29 10:56:07 1.17 +++ src/library/base/man/complex.Rd 2003/12/12 15:44:49 @@ -60,7 +60,7 @@ functions are available for complex values. \code{is.complex} is generic: you can write methods to handle - of specific classes of objects, see \link{InternalMethods}. + specific classes of objects, see \link{InternalMethods}. } \references{ Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) Index: src/library/base/man/connections.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/connections.Rd,v retrieving revision 1.49 diff -u -r1.49 connections.Rd --- src/library/base/man/connections.Rd 2003/12/09 09:11:09 1.49 +++ src/library/base/man/connections.Rd 2003/12/12 15:44:50 @@ -100,7 +100,7 @@ \code{open}, \code{close} and \code{seek} are generic functions: the following applies to the methods relevant to connections. - \code{open} opens a connection. In general functions using + \code{open} opens a connection. In general, functions using connections will open them if they are not open, but then close them again, so to leave a connection open call \code{open} explicitly. Index: src/library/base/man/converters.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/converters.Rd,v retrieving revision 1.2 diff -u -r1.2 converters.Rd --- src/library/base/man/converters.Rd 2003/07/08 00:20:18 1.2 +++ src/library/base/man/converters.Rd 2003/12/12 15:44:50 @@ -24,7 +24,7 @@ } \arguments{ \item{id}{either a number or a string identifying the element of interest in the converter - list. A string sis matched against the description strings for each element to identify + list. A string is matched against the description strings for each element to identify the element. Integers are specified starting at 1 (rather than 0).} \item{status}{a logical value specifying whether the element is to be considered Index: src/library/base/man/copyright.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/copyright.Rd,v retrieving revision 1.5 diff -u -r1.5 copyright.Rd --- src/library/base/man/copyright.Rd 2003/07/08 00:20:18 1.5 +++ src/library/base/man/copyright.Rd 2003/12/12 15:44:50 @@ -3,7 +3,7 @@ \alias{copyright} \alias{copyrights} \description{ - \R is released under the \sQuote{GNU Public License}: see + \R is released under the \sQuote{GNU General Public License}: see \code{\link{license}} for details. The license describes your right to use \R. Copyright is concerned with ownership of intellectual rights, and some of the software used has conditions that the Index: src/library/base/man/data.frame.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/data.frame.Rd,v retrieving revision 1.40 diff -u -r1.40 data.frame.Rd --- src/library/base/man/data.frame.Rd 2003/12/12 09:01:49 1.40 +++ src/library/base/man/data.frame.Rd 2003/12/12 15:44:50 @@ -25,7 +25,7 @@ (by \code{\link{make.names}}) so that they are.} } \value{ - A data frame, a matrix-like stucture whose columns may be of + A data frame, a matrix-like structure whose columns may be of differing types (numeric, logical, factor and character and so on). } \details{ @@ -48,7 +48,7 @@ If row names are not supplied in the call to \code{data.frame}, the row names are taken from the first component that has suitable names, for example a named vector or a matrix with rownames or a data frame. - (If that component is subsequently recycled the names are discarded, + (If that component is subsequently recycled, the names are discarded with a warning.) If \code{row.names} was supplied as \code{NULL} or no suitable component was found the row names are the integer sequence starting at one. Index: src/library/base/man/dcf.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/dcf.Rd,v retrieving revision 1.6 diff -u -r1.6 dcf.Rd --- src/library/base/man/dcf.Rd 2003/12/09 20:03:38 1.6 +++ src/library/base/man/dcf.Rd 2003/12/12 15:44:50 @@ -38,13 +38,13 @@ field may appear only once in a record. \item Regular lines start with a non-whitespace character. \item Regular lines are of form \code{tag:value}, i.e., - have a name tag and a value for the field, seperated + have a name tag and a value for the field, separated by \code{:} (only the first \code{:} counts). The value can be empty (=whitespace only). \item Lines starting with whitespace are continuation lines (to the preceding field) if at least one character in the line is non-whitespace. - \item Records are seperated by one or more empty (=whitespace only) + \item Records are separated by one or more empty (=whitespace only) lines. } Index: src/library/base/man/delay.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/delay.Rd,v retrieving revision 1.8 diff -u -r1.8 delay.Rd --- src/library/base/man/delay.Rd 2000/09/03 12:01:50 1.8 +++ src/library/base/man/delay.Rd 2003/12/12 15:44:50 @@ -31,8 +31,8 @@ 10 }) -x^2#- yippee -x^2#- simple number +x^2 #- yippee +x^2 #- simple number } \keyword{programming} \keyword{data} Index: src/library/base/man/detach.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/detach.Rd,v retrieving revision 1.13 diff -u -r1.13 detach.Rd --- src/library/base/man/detach.Rd 2003/12/09 16:41:54 1.13 +++ src/library/base/man/detach.Rd 2003/12/12 15:44:50 @@ -21,7 +21,7 @@ } \description{ Detach a database, i.e., remove it from the \code{\link{search}()} path - of available \R objects. Usually, this either a \code{\link{data.frame}} + of available \R objects. Usually, this is either a \code{\link{data.frame}} which has been \code{\link{attach}}ed or a package which was required previously. } Index: src/library/base/man/double.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/double.Rd,v retrieving revision 1.13 diff -u -r1.13 double.Rd --- src/library/base/man/double.Rd 2003/06/04 09:52:46 1.13 +++ src/library/base/man/double.Rd 2003/12/12 15:44:50 @@ -31,7 +31,7 @@ \code{is.double} returns \code{TRUE} or \code{FALSE} depending on whether its argument is of double type or not. It is generic: - you can write methods to handle of specific classes of objects, + you can write methods to handle specific classes of objects, see \link{InternalMethods}. } \note{ Index: src/library/base/man/environment.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/environment.Rd,v retrieving revision 1.15 diff -u -r1.15 environment.Rd --- src/library/base/man/environment.Rd 2003/12/09 09:11:10 1.15 +++ src/library/base/man/environment.Rd 2003/12/12 15:44:50 @@ -65,7 +65,7 @@ in the near future. \code{is.environment} is generic: you can write methods to handle - of specific classes of objects, see \link{InternalMethods}. + specific classes of objects, see \link{InternalMethods}. } \seealso{ The \code{envir} argument of \code{\link{eval}}. Index: src/library/base/man/eval.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/eval.Rd,v retrieving revision 1.15 diff -u -r1.15 eval.Rd --- src/library/base/man/eval.Rd 2003/07/08 00:20:18 1.15 +++ src/library/base/man/eval.Rd 2003/12/12 15:44:50 @@ -15,7 +15,7 @@ local(expr, envir = new.env()) } \arguments{ - \item{expr}{object of mode \code{\link{expression}} or\code{call} or + \item{expr}{object of mode \code{\link{expression}} or \code{call} or an \dQuote{unevaluated expression}.} \item{envir}{the \code{\link{environment}} in which \code{expr} is to be evaluated. May also be a list, a data frame, or an integer as in Index: src/library/base/man/factor.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/factor.Rd,v retrieving revision 1.29 diff -u -r1.29 factor.Rd --- src/library/base/man/factor.Rd 2003/12/09 09:11:10 1.29 +++ src/library/base/man/factor.Rd 2003/12/12 15:44:51 @@ -100,7 +100,7 @@ Under those circumstances missing values are printed as \code{<NA>}. \code{is.factor} is generic: you can write methods to handle - of specific classes of objects, see \link{InternalMethods}. + specific classes of objects, see \link{InternalMethods}. } \section{Warning}{ The interpretation of a factor depends on both the codes and the Index: src/library/base/man/fft.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/fft.Rd,v retrieving revision 1.11 diff -u -r1.11 fft.Rd --- src/library/base/man/fft.Rd 2003/07/07 08:21:10 1.11 +++ src/library/base/man/fft.Rd 2003/12/12 15:44:51 @@ -35,7 +35,7 @@ its discrete Fourier transform. This is useful for analyzing vector-valued series. - The FFT is fastest when the length of of the series being transformed + The FFT is fastest when the length of the series being transformed is highly composite (i.e., has many factors). If this is not the case, the transform may take a long time to compute and will use a large amount of memory. Index: src/library/base/man/gzcon.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/gzcon.Rd,v retrieving revision 1.2 diff -u -r1.2 gzcon.Rd --- src/library/base/man/gzcon.Rd 2003/02/19 21:05:43 1.2 +++ src/library/base/man/gzcon.Rd 2003/12/12 15:44:51 @@ -35,9 +35,8 @@ } \seealso{\code{\link{gzfile}}} \examples{ -\dontrun{## This example may not still be available -## print the value to see what objects were created. -con <- url("http://hesweb1.med.virginia.edu/biostat/s/data/sav/kprats.sav") +\dontrun{## print the value to see what objects were created. +con <- url("http://host/file.sav") print(load(con))} ## gzfile and gzcon can inter-work. Index: src/library/base/man/integer.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/integer.Rd,v retrieving revision 1.15 diff -u -r1.15 integer.Rd --- src/library/base/man/integer.Rd 2003/07/26 07:15:36 1.15 +++ src/library/base/man/integer.Rd 2003/12/12 15:44:51 @@ -35,7 +35,7 @@ \code{is.integer} returns \code{TRUE} or \code{FALSE} depending on whether its argument is of integer type or not. \code{is.integer} is generic: you can write methods to handle - of specific classes of objects, see \link{InternalMethods}. + specific classes of objects, see \link{InternalMethods}. Note that factors are true for \code{is.integer} but false for \code{\link{is.numeric}}. } Index: src/library/base/man/is.finite.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/is.finite.Rd,v retrieving revision 1.21 diff -u -r1.21 is.finite.Rd --- src/library/base/man/is.finite.Rd 2003/07/08 00:20:18 1.21 +++ src/library/base/man/is.finite.Rd 2003/12/12 15:44:51 @@ -41,7 +41,7 @@ since systems typically have many different NaN values. In most ports of \R one of these is used for the numeric missing value \code{NA}. It is generic: you can write methods to handle - of specific classes of objects, see \link{InternalMethods}. + specific classes of objects, see \link{InternalMethods}. } \note{ In \R, basically all mathematical functions (including basic @@ -60,8 +60,9 @@ %%- better ones ?!?? ANSI/IEEE 754 Floating-Point Standard. - Currently (6/2002), Bill Metzenthen's \email{billm@suburbia.net} tutorial - and examples at \cr \url{http://www.suburbia.net/~billm/} +% This link does not work any more (11/12/03) +% Currently (6/2002), Bill Metzenthen's \email{billm@suburbia.net} tutorial +% and examples at \cr \url{http://www.suburbia.net/~billm/} } \examples{ pi / 0 ## = Inf a non-zero number divided by zero creates infinity Index: src/library/base/man/is.function.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/is.function.Rd,v retrieving revision 1.5 diff -u -r1.5 is.function.Rd --- src/library/base/man/is.function.Rd 2003/03/12 15:51:26 1.5 +++ src/library/base/man/is.function.Rd 2003/12/12 15:44:51 @@ -8,7 +8,7 @@ } \details{ \code{is.function} is generic: you can write methods to handle - of specific classes of objects, see \link{InternalMethods}. + specific classes of objects, see \link{InternalMethods}. } \value{\code{TRUE} if \code{x} is a function, and \code{FALSE} otherwise.} Index: src/library/base/man/is.language.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/is.language.Rd,v retrieving revision 1.9 diff -u -r1.9 is.language.Rd --- src/library/base/man/is.language.Rd 2003/05/13 14:14:31 1.9 +++ src/library/base/man/is.language.Rd 2003/12/12 15:44:51 @@ -14,7 +14,7 @@ } \details{ \code{is.language} is generic: you can write methods to handle - of specific classes of objects, see \link{InternalMethods}. + specific classes of objects, see \link{InternalMethods}. } \references{ Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) Index: src/library/base/man/is.object.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/is.object.Rd,v retrieving revision 1.6 diff -u -r1.6 is.object.Rd --- src/library/base/man/is.object.Rd 2003/12/09 09:11:10 1.6 +++ src/library/base/man/is.object.Rd 2003/12/12 15:44:51 @@ -14,7 +14,7 @@ } \details{ \code{is.object} is generic: you can write methods to handle - of specific classes of objects, see \link{InternalMethods}. + specific classes of objects, see \link{InternalMethods}. } \seealso{\code{\link[base]{class}}, and \code{\link[utils]{methods}}.} Index: src/library/base/man/is.recursive.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/is.recursive.Rd,v retrieving revision 1.9 diff -u -r1.9 is.recursive.Rd --- src/library/base/man/is.recursive.Rd 2003/05/13 14:14:31 1.9 +++ src/library/base/man/is.recursive.Rd 2003/12/12 15:44:51 @@ -17,7 +17,7 @@ \item{x}{object to be tested.} } \details{ - These are generic: you can write methods to handle of specific classes + These are generic: you can write methods to handle specific classes of objects, see \link{InternalMethods}. } \references{ Index: src/library/base/man/is.single.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/is.single.Rd,v retrieving revision 1.6 diff -u -r1.6 is.single.Rd --- src/library/base/man/is.single.Rd 2003/05/13 14:14:31 1.6 +++ src/library/base/man/is.single.Rd 2003/12/12 15:44:51 @@ -11,7 +11,7 @@ } \details{ \code{is.single} is generic: you can write methods to handle - of specific classes of objects, see \link{InternalMethods}. + specific classes of objects, see \link{InternalMethods}. } \references{ Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) Index: src/library/base/man/length.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/length.Rd,v retrieving revision 1.12 diff -u -r1.12 length.Rd --- src/library/base/man/length.Rd 2003/08/29 21:39:07 1.12 +++ src/library/base/man/length.Rd 2003/12/12 15:44:51 @@ -19,7 +19,7 @@ \code{length} returns \code{NA}. } \details{ - \code{length} is generic: you can write methods to handle of specific + \code{length} is generic: you can write methods to handle specific classes of objects, see \link{InternalMethods}. The replacement form can be used to reset the length of a vector. If Index: src/library/base/man/library.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/library.Rd,v retrieving revision 1.74 diff -u -r1.74 library.Rd --- src/library/base/man/library.Rd 2003/12/09 09:11:10 1.74 +++ src/library/base/man/library.Rd 2003/12/12 15:44:52 @@ -79,7 +79,7 @@ printed.} \item{quietly}{a logical. If \code{TRUE}, no message confirming package loading is printed.} - \item{save}{logical or environment. IF \code{TRUE}, a call to + \item{save}{logical or environment. If \code{TRUE}, a call to \code{require} from the source for a package will save the name of the required package in the variable \code{".required"}, allowing function \code{\link{detach}} to warn if a required package is Index: src/library/base/man/list.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/list.Rd,v retrieving revision 1.14 diff -u -r1.14 list.Rd --- src/library/base/man/list.Rd 2003/07/25 13:41:21 1.14 +++ src/library/base/man/list.Rd 2003/12/12 15:44:52 @@ -55,7 +55,7 @@ whereas \code{is.pairlist} only returns \code{TRUE} in the latter case. \code{is.list} and \code{is.pairlist} are generic: you can write - methods to handle of specific classes of objects, see \link{InternalMethods}. + methods to handle specific classes of objects, see \link{InternalMethods}. An empty pairlist, \code{pairlist()} is the same as \code{NULL}. This is different from \code{list()}. Index: src/library/base/man/load.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/load.Rd,v retrieving revision 1.13 diff -u -r1.13 load.Rd --- src/library/base/man/load.Rd 2003/12/09 09:11:10 1.13 +++ src/library/base/man/load.Rd 2003/12/12 15:44:52 @@ -41,8 +41,7 @@ ## restore the saved values to the user's workspace load("all.Rdata", .GlobalEnv) -\dontrun{## This example may not still be available -## print the value to see what objects were created. -print(loadURL("http://hesweb1.med.virginia.edu/biostat/s/data/sav/kprats.sav"))} +\dontrun{## print the value to see what objects were created. +print(loadURL("http://host/file.sav"))} } \keyword{file} Index: src/library/base/man/logical.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/logical.Rd,v retrieving revision 1.14 diff -u -r1.14 logical.Rd --- src/library/base/man/logical.Rd 2003/07/08 00:20:18 1.14 +++ src/library/base/man/logical.Rd 2003/12/12 15:44:52 @@ -27,7 +27,7 @@ All four are \code{logical(1)} vectors. \code{is.logical} is generic: you can write methods to handle - of specific classes of objects, see \link{InternalMethods}. + specific classes of objects, see \link{InternalMethods}. } \arguments{ \item{length}{desired length.} Index: src/library/base/man/matrix.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/matrix.Rd,v retrieving revision 1.13 diff -u -r1.13 matrix.Rd --- src/library/base/man/matrix.Rd 2003/12/08 20:34:30 1.13 +++ src/library/base/man/matrix.Rd 2003/12/12 15:44:52 @@ -12,7 +12,7 @@ \code{is.matrix} tests if its argument is a (strict) matrix. It is generic: you can write methods to handle - of specific classes of objects, see \link{InternalMethods}. + specific classes of objects, see \link{InternalMethods}. } \usage{ matrix(data = NA, nrow = 1, ncol = 1, byrow = FALSE, dimnames = NULL) Index: src/library/base/man/name.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/name.Rd,v retrieving revision 1.16 diff -u -r1.16 name.Rd --- src/library/base/man/name.Rd 2003/07/08 00:20:18 1.16 +++ src/library/base/man/name.Rd 2003/12/12 15:44:52 @@ -30,7 +30,7 @@ } \details{ \code{is.symbol} is generic: you can write methods to handle - of specific classes of objects, see \link{InternalMethods}. + specific classes of objects, see \link{InternalMethods}. } \references{ Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) Index: src/library/base/man/noquote.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/noquote.Rd,v retrieving revision 1.9 diff -u -r1.9 noquote.Rd --- src/library/base/man/noquote.Rd 2003/12/09 09:11:10 1.9 +++ src/library/base/man/noquote.Rd 2003/12/12 15:44:52 @@ -25,7 +25,7 @@ \code{"noquote"}. There is a method for \code{c()} and subscript method (\code{"[.noquote"}) which ensures that the class is not lost by subsetting. The print method (\code{print.noquote}) prints - character stringss \emph{without} quotes (\code{"\dots"}). + character strings \emph{without} quotes (\code{"\dots"}). These functions exist both as utilities and as an example of using (S3) \code{\link[base]{class}} and object orientation. Index: src/library/base/man/ns-alt.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/ns-alt.Rd,v retrieving revision 1.4 diff -u -r1.4 ns-alt.Rd --- src/library/base/man/ns-alt.Rd 2003/08/01 13:22:52 1.4 +++ src/library/base/man/ns-alt.Rd 2003/12/12 15:44:52 @@ -60,7 +60,7 @@ it is used as the method. When the method is specified as a name, explicitly or implicitly, the function lookup is handled lazily; this allows the definition to occur after the \code{.S3method} - declaration and also integrates with possible data base storage of + declaration and also integrates with possible database storage of package code. } \examples{ Index: src/library/base/man/ns-lowlev.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/ns-lowlev.Rd,v retrieving revision 1.8 diff -u -r1.8 ns-lowlev.Rd --- src/library/base/man/ns-lowlev.Rd 2003/12/06 10:46:38 1.8 +++ src/library/base/man/ns-lowlev.Rd 2003/12/12 15:44:52 @@ -29,7 +29,7 @@ \item{package}{string naming the package/name space to load.} \item{lib.loc}{character vector specifying library search path.} \item{keep.source}{logical specifying whether to retain source.} - \item{partial}{logical; if true, stop just after laoding code.} + \item{partial}{logical; if true, stop just after loading code.} \item{declarativeOnly}{logical; disables \code{.Import}, etc, if true.} \item{compress}{option passed to \code{\link{save}}.} } Index: src/library/base/man/numeric.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/numeric.Rd,v retrieving revision 1.15 diff -u -r1.15 numeric.Rd --- src/library/base/man/numeric.Rd 2003/07/26 07:15:36 1.15 +++ src/library/base/man/numeric.Rd 2003/12/12 15:44:52 @@ -25,7 +25,7 @@ } \details{ \code{is.numeric} is generic: you can write methods to handle - of specific classes of objects, see \link{InternalMethods}. + specific classes of objects, see \link{InternalMethods}. Note that factors are false for \code{is.numeric} but true for \code{\link{is.integer}}. Index: src/library/base/man/options.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/options.Rd,v retrieving revision 1.72 diff -u -r1.72 options.Rd --- src/library/base/man/options.Rd 2003/12/11 09:00:42 1.72 +++ src/library/base/man/options.Rd 2003/12/12 15:44:53 @@ -40,7 +40,7 @@ \section{Options used in base \R}{ \describe{ \item{\code{prompt}:}{a string, used for \R's prompt; should usually - end in a blank (\code{" "}).} + end in a blank (\code{"~"}).} \item{\code{continue}:}{a string setting the prompt used for lines which continue over one line.} @@ -276,7 +276,7 @@ \code{na.action} \tab \code{na.omit} \tab \code{ts.eps} \tab \code{1e-5}\cr \code{error} \tab \code{NULL} \tab - \code{show.error.messags} \tab \code{TRUE} \cr + \code{show.error.messages} \tab \code{TRUE} \cr \code{warn} \tab \code{0}\tab \code{warning.length} \tab \code{1000}\cr \code{echo} \tab \code{TRUE} \tab Index: src/library/base/man/package.dependencies.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/package.dependencies.Rd,v retrieving revision 1.3 diff -u -r1.3 package.dependencies.Rd --- src/library/base/man/package.dependencies.Rd 2003/12/09 09:11:10 1.3 +++ src/library/base/man/package.dependencies.Rd 2003/12/12 15:44:53 @@ -16,7 +16,7 @@ } \details{ Currently we only check if the package conforms with the currently - running version of R. IN the future we might add checks for + running version of R. In the future we might add checks for inter-package dependencies. } \seealso{\code{\link[utils]{update.packages}}} Index: src/library/base/man/print.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/print.Rd,v retrieving revision 1.19 diff -u -r1.19 print.Rd --- src/library/base/man/print.Rd 2003/12/09 09:11:10 1.19 +++ src/library/base/man/print.Rd 2003/12/12 15:44:53 @@ -28,7 +28,7 @@ printed with surrounding quotes.} \item{max.levels}{integer, indicating how many levels should be printed for a factor; if \code{0}, no extra "Levels" line will be - printed. The default, \code{NULL}, entails chosing \code{max.levels} + printed. The default, \code{NULL}, entails choosing \code{max.levels} such that the levels print on one line of width \code{width}.} \item{width}{only used when \code{max.levels} is NULL, see above.} \item{digits}{minimal number of \emph{significant} digits, see Index: src/library/base/man/range.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/range.Rd,v retrieving revision 1.15 diff -u -r1.15 range.Rd --- src/library/base/man/range.Rd 2003/12/12 09:01:49 1.15 +++ src/library/base/man/range.Rd 2003/12/12 15:44:54 @@ -23,7 +23,7 @@ directly or via the \code{\link{Summary}} group generic. If \code{na.rm} is \code{FALSE}, \code{NA} - and \code{NaN} values in any of the arguments will cause NA values + and \code{NaN} values in any of the arguments will cause \code{NA} values to be returned, otherwise \code{NA} values are ignored. If \code{finite} is \code{TRUE}, the minimum Index: src/library/base/man/readBin.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/readBin.Rd,v retrieving revision 1.13 diff -u -r1.13 readBin.Rd --- src/library/base/man/readBin.Rd 2003/11/15 07:05:56 1.13 +++ src/library/base/man/readBin.Rd 2003/12/12 15:44:54 @@ -87,7 +87,7 @@ is zero-padded, with a warning. If \code{readBin(what=character())} is used incorrectly on a file which - does not contain C-style charcter strings, warnings (usually + does not contain C-style character strings, warnings (usually many) are given as from version 1.6.2. The input will be broken into pieces of length 10000 with any final part being discarded. } @@ -96,7 +96,7 @@ For \code{readBin}, a vector of appropriate mode and length the number of items read (which might be less than \code{n}). - For \code{readChar}, a character vector of length the number of + For \code{readChar}, a character vector of length equal to the number of items read (which might be less than \code{length(nchars)}). For \code{writeBin} and \code{writeChar}, none. Index: src/library/base/man/rm.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/rm.Rd,v retrieving revision 1.6 diff -u -r1.6 rm.Rd --- src/library/base/man/rm.Rd 2003/05/13 14:14:31 1.6 +++ src/library/base/man/rm.Rd 2003/12/12 15:44:54 @@ -24,7 +24,7 @@ vector \code{list}, or through a combination of both. All objects thus specified will be removed. - If \code{envir} is NULL then the the currently active environment is + If \code{envir} is NULL then the currently active environment is searched first. If \code{inherits} is \code{TRUE} then parents of the supplied Index: src/library/base/man/scan.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/scan.Rd,v retrieving revision 1.36 diff -u -r1.36 scan.Rd --- src/library/base/man/scan.Rd 2003/09/13 08:07:30 1.36 +++ src/library/base/man/scan.Rd 2003/12/12 15:44:54 @@ -60,7 +60,7 @@ \item{nlines}{the maximum number of lines of data to be read.} \item{na.strings}{character vector. Elements of this vector are to be - interpeted as missing (\code{\link{NA}}) values.} + interpreted as missing (\code{\link{NA}}) values.} \item{flush}{logical: if \code{TRUE}, \code{scan} will flush to the end of the line after reading the last of the fields requested. @@ -115,7 +115,7 @@ values. If \code{sep} is the default (\code{""}), the character \code{\\} - in a quoted string escapes the following character, so quotes may + in a quoted string escapes the following character, so quotes may be included in the string by escaping them. If \code{sep} is non-default, the fields may be quoted in the style of Index: src/library/base/man/seq.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/seq.Rd,v retrieving revision 1.25 diff -u -r1.25 seq.Rd --- src/library/base/man/seq.Rd 2003/12/12 09:01:49 1.25 +++ src/library/base/man/seq.Rd 2003/12/12 15:44:54 @@ -55,7 +55,7 @@ If \code{from} and \code{to} are factors of the same length, then \code{from : to} returns the \dQuote{cross} of the two. - Very small sequences (with \code{from - to} of the order of 1e-14 + Very small sequences (with \code{from - to} of the order of \eqn{10^{-14}} times the larger of the ends) will return \code{from}. } \value{ Index: src/library/base/man/sprintf.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/sprintf.Rd,v retrieving revision 1.4 diff -u -r1.4 sprintf.Rd --- src/library/base/man/sprintf.Rd 2003/07/08 00:20:18 1.4 +++ src/library/base/man/sprintf.Rd 2003/12/12 15:44:55 @@ -16,7 +16,8 @@ value is read from each vector.} } \details{ - This is a wrapper for the system's C call. Attempts are made to + This is a wrapper for the system \code{sprintf} C-library function. + Attempts are made to check that the mode of the values passed match the format supplied, and \R's special values (\code{NA}, \code{Inf}, \code{-Inf} and \code{NaN}) are handled correctly. Index: src/library/base/man/strptime.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/strptime.Rd,v retrieving revision 1.21 diff -u -r1.21 strptime.Rd --- src/library/base/man/strptime.Rd 2003/11/27 11:59:12 1.21 +++ src/library/base/man/strptime.Rd 2003/12/12 15:44:55 @@ -36,7 +36,7 @@ \item{\dots}{Further arguments to be passed from or to other methods.} \item{usetz}{logical. Should the timezone be appended to the output? This is used in printing time, and as a workaround for problems with - using \code{"\%Z"} on most Linux systems.} + using \code{"\%Z"} on most GNU/Linux systems.} \item{year, month, day}{numerical values to specify a day.} \item{hour, min, sec}{numerical values for a time within a day.} } @@ -90,7 +90,7 @@ \item{\code{\%z}}{(output only.) Offset from Greenwich, so \code{-0800} is 8 hours west of Greenwich.} \item{\code{\%Z}}{(output only.) Time zone as a character - string (empty if not available). Note: do not use this on Linux + string (empty if not available). Note: do not use this on GNU/Linux unless the \code{TZ} environment variable is set.} } Where leading zeros are shown they will be used on output but are @@ -189,7 +189,7 @@ format(Sys.time(), "\%a \%b \%d \%X \%Y") ## we would include the timezone as in ## format(Sys.time(), "\%a \%b \%d \%X \%Y \%Z") -## but this crashes some Linux systems +## but this crashes some GNU/Linux systems ## read in date info in format 'ddmmmyyyy' ## This will give NA(s) in some locales; setting the C locale Index: src/library/base/man/strwrap.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/strwrap.Rd,v retrieving revision 1.2 diff -u -r1.2 strwrap.Rd --- src/library/base/man/strwrap.Rd 2003/07/08 00:20:19 1.2 +++ src/library/base/man/strwrap.Rd 2003/12/12 15:44:55 @@ -30,8 +30,8 @@ } \details{ Whitespace in the input is destroyed. Double spaces after periods - (thought as representing sentence ends) are preserved. Currently, it - possible sentence ends at line breaks are not considerd specially. + (representing sentence ends) are preserved. Currently, sentence + ends at line breaks are not considered specially. Indentation is relative to the number of characters in the prefix string. Index: src/library/base/man/sys.parent.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/sys.parent.Rd,v retrieving revision 1.12 diff -u -r1.12 sys.parent.Rd --- src/library/base/man/sys.parent.Rd 2003/07/08 00:20:19 1.12 +++ src/library/base/man/sys.parent.Rd 2003/12/12 15:44:55 @@ -56,7 +56,7 @@ \code{sys.nframe} returns the number of the current frame in that list. \code{sys.function} gives the definition of the function - curently being evaluated in the frame \code{n} generations back. + currently being evaluated in the frame \code{n} generations back. \code{sys.frames} gives a list of all the active frames and \code{sys.parents} gives the indices of the parent frames of each Index: src/library/base/man/taskCallbackManager.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/taskCallbackManager.Rd,v retrieving revision 1.3 diff -u -r1.3 taskCallbackManager.Rd --- src/library/base/man/taskCallbackManager.Rd 2003/07/08 00:20:19 1.3 +++ src/library/base/man/taskCallbackManager.Rd 2003/12/12 15:44:55 @@ -45,7 +45,7 @@ A list containing 6 functions: \item{add}{register a callback with this manager, giving the function, an optional 5-th argument, an optional name - by which the the callback is stored in the list, + by which the callback is stored in the list, and a \code{register} argument which controls whether the \code{evaluate} function is registered with the internal C-level dispatch mechanism if necessary.} @@ -53,7 +53,7 @@ of callbacks, either by name or position/index.} \item{evaluate}{the \sQuote{real} callback function that is registered with the C-level dispatch mechanism and which invokes each of the - R-leve callbacks within this manager's control.} + R-level callbacks within this manager's control.} \item{suspend}{a function to set the suspend state of the manager. If it is suspended, none of the callbacks will be invoked when a task is completed. One sets the state by specifying Index: src/library/base/man/taskCallbackNames.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/taskCallbackNames.Rd,v retrieving revision 1.3 diff -u -r1.3 taskCallbackNames.Rd --- src/library/base/man/taskCallbackNames.Rd 2003/07/07 08:21:10 1.3 +++ src/library/base/man/taskCallbackNames.Rd 2003/12/12 15:44:55 @@ -5,7 +5,7 @@ This provides a way to get the names (or identifiers) for the currently registered task callbacks that are invoked at the conclusion of each top-level task. - These identifies can be used to remove a callback. + These identifiers can be used to remove a callback. } \usage{ getTaskCallbackNames() Index: src/library/base/man/toString.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/toString.Rd,v retrieving revision 1.3 diff -u -r1.3 toString.Rd --- src/library/base/man/toString.Rd 2003/07/29 07:01:19 1.3 +++ src/library/base/man/toString.Rd 2003/12/12 15:44:55 @@ -6,7 +6,7 @@ \description{ This is a helper function for \code{\link{format}}. It converts its argument to a string. If the argument is a vector then its elements are - concatenated with a \code{,} as a separtor. + concatenated with a \code{,} as a separator. Most methods should honor the width argument. The minimum value for \code{width} is six. } Index: src/library/base/man/unlink.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/unlink.Rd,v retrieving revision 1.10 diff -u -r1.10 unlink.Rd --- src/library/base/man/unlink.Rd 2003/05/13 14:14:31 1.10 +++ src/library/base/man/unlink.Rd 2003/12/12 15:44:55 @@ -7,13 +7,13 @@ directories to be deleted. Wildcards (normally \file{*} and \file{?}) are allowed.} \item{recursive}{logical. Should directories be deleted - recusively?} + recursively?} } \description{ \code{unlink} deletes the file(s) or directories specified by \code{x}. } \details{ - If \code{recusive = FALSE} directories are not deleted, + If \code{recursive = FALSE} directories are not deleted, not even empty ones. \code{\link{file.remove}} can only remove files, but gives more Index: src/library/base/man/unlist.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/unlist.Rd,v retrieving revision 1.10 diff -u -r1.10 unlist.Rd --- src/library/base/man/unlist.Rd 2003/12/09 09:11:10 1.10 +++ src/library/base/man/unlist.Rd 2003/12/12 15:44:56 @@ -17,7 +17,7 @@ } \details{ \code{unlist} is generic: you can write methods to handle - of specific classes of objects, see \link{InternalMethods}. + specific classes of objects, see \link{InternalMethods}. If \code{recursive = FALSE}, the function will not recurse beyond the first level items in \code{x}. Index: src/library/base/man/writeLines.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/writeLines.Rd,v retrieving revision 1.6 diff -u -r1.6 writeLines.Rd --- src/library/base/man/writeLines.Rd 2003/07/15 12:13:52 1.6 +++ src/library/base/man/writeLines.Rd 2003/12/12 15:44:56 @@ -24,7 +24,7 @@ Normally \code{writeLines} is used with a text connection, and the default separator is converted to the normal separator for that - platform (LF on Unix/Linux, CRLF on Windows, CR on Classic MacOS). For + platform (LF on Unix, CRLF on Windows, CR on Classic MacOS). For more control, open a binary connection and specify the precise value you want written to the file in \code{sep}. For even more control, use \code{\link{writeChar}} on a binary connection. Index: src/library/base/man/xtabs.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/xtabs.Rd,v retrieving revision 1.15 diff -u -r1.15 xtabs.Rd --- src/library/base/man/xtabs.Rd 2003/12/09 13:52:21 1.15 +++ src/library/base/man/xtabs.Rd 2003/12/12 15:44:56 @@ -69,7 +69,7 @@ DF ## Nice for taking margins ... xtabs(Freq ~ Gender + Admit, DF) -## And for testing independece ... +## And for testing independence ... summary(xtabs(Freq ~ ., DF)) data(warpbreaks) Index: src/library/base/man/zMachine.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/zMachine.Rd,v retrieving revision 1.15 diff -u -r1.15 zMachine.Rd --- src/library/base/man/zMachine.Rd 2003/07/08 00:20:19 1.15 +++ src/library/base/man/zMachine.Rd 2003/12/12 15:44:56 @@ -68,7 +68,7 @@ type. Will be zero if there is no such type.} \item{sizeof.longdouble}{the number of bytes in a C \code{long double} type. Will be zero if there is no such type.} - \item{sizeof.pointer}{the number of bytes in a C \code{SEXP} + \item{sizeof.pointer}{the number of bytes in a C \code{SEXP} (s-expression) type.} } \details{ Index: src/library/base/man/aqua/help.search.Rd ==================================================================RCS file: /cvs/R/src/library/base/man/aqua/help.search.Rd,v retrieving revision 1.1 diff -u -r1.1 help.search.Rd --- src/library/base/man/aqua/help.search.Rd 2003/09/22 10:56:07 1.1 +++ src/library/base/man/aqua/help.search.Rd 2003/12/12 15:44:56 @@ -22,7 +22,7 @@ fields. If this is given, the arguments \code{apropos}, \code{keyword}, and \code{whatis} are ignored.} \item{fields}{a character vector specifying the fields of the help - data bases to be searched. The entries must be abbreviations of + databases to be searched. The entries must be abbreviations of \code{"name"}, \code{"title"}, \code{"alias"}, \code{"concept"}, and \code{"keyword"}, corresponding to the help page's (file) name, its title, the topics and concepts it provides documentation for, and @@ -43,9 +43,9 @@ library trees to search through, or \code{NULL}. The default value of \code{NULL} corresponds to all libraries currently known.} \item{help.db}{a character string giving the file path to a previously - built and saved help data base, or \code{NULL}.} + built and saved help database, or \code{NULL}.} \item{verbose}{logical; if \code{TRUE}, the search process is traced.} - \item{rebuild}{a logical indicating whether the help data base should + \item{rebuild}{a logical indicating whether the help database should be rebuilt.} \item{agrep}{if \code{NULL} (the default) and the character string to be matched consists of alphanumeric characters, whitespace or a dash @@ -58,7 +58,7 @@ \code{max.distance} in the documentation for \code{\link{agrep}}.} } \details{ - Upon installation of a package, a contents data base which contains + Upon installation of a package, a contents database which contains the information on name, title, aliases and keywords and, concepts starting with \R 1.8, is computed from the Rd files in the package and serialized as \file{Rd.rds} in the \file{Meta} subdirectory of the @@ -66,13 +66,13 @@ \file{CONTENTS} in Debian Control Format with aliases and keywords collapsed to character strings in the top-level package installation directory). This, or a pre-built help.search index serialized as - \file{hsearch.rds} in the \file{Meta} directory, is the data base + \file{hsearch.rds} in the \file{Meta} directory, is the database searched by \code{help.search()}. The arguments \code{apropos} and \code{whatis} play a role similar to the Unix commands with the same names. - If possible, the help data base is saved to the file \file{help.db} in + If possible, the help database is saved to the file \file{help.db} in the \file{.R} subdirectory of the user's home directory or the current working directory. Index: src/library/graphics/man/assocplot.Rd ==================================================================RCS file: /cvs/R/src/library/graphics/man/assocplot.Rd,v retrieving revision 1.2 diff -u -r1.2 assocplot.Rd --- src/library/graphics/man/assocplot.Rd 2003/12/09 15:53:43 1.2 +++ src/library/graphics/man/assocplot.Rd 2003/12/12 15:44:56 @@ -15,7 +15,7 @@ \item{col}{a character vector of length two giving the colors used for drawing positive and negative Pearson residuals, respectively.} \item{space}{the amount of space (as a fraction of the average - rectangle width and height) left between each rectange.} + rectangle width and height) left between each rectangle.} \item{main}{overall title for the plot.} \item{xlab}{a label for the x axis. Defaults to the name of the row variable in \code{x} if non-\code{NULL}.} Index: src/library/graphics/man/barplot.Rd ==================================================================RCS file: /cvs/R/src/library/graphics/man/barplot.Rd,v retrieving revision 1.1 diff -u -r1.1 barplot.Rd --- src/library/graphics/man/barplot.Rd 2003/12/09 07:24:22 1.1 +++ src/library/graphics/man/barplot.Rd 2003/12/12 15:44:57 @@ -52,7 +52,7 @@ \item{horiz}{a logical value. If \code{FALSE}, the bars are drawn vertically with the first bar to the left. If \code{TRUE}, the bars are drawn horizontally with the first at the bottom.} - \item{density}{a vector giving the the density of shading lines, in + \item{density}{a vector giving the density of shading lines, in lines per inch, for the bars or bar components. The default value of \code{NULL} means that no shading lines are drawn. Non-positive values of \code{density} also inhibit the @@ -81,7 +81,7 @@ % precisely documented!) behavior! \item{plot}{logical. If \code{FALSE}, nothing is plotted.} \item{axis.lty}{the graphics parameter \code{lty} applied to the axis - and tick marks of the categorical (default horzontal) axis. Note + and tick marks of the categorical (default horizontal) axis. Note that by default the axis is suppressed.} \item{\dots}{further graphical parameters (\code{\link{par}}) are passed to \code{\link{plot.window}()}, \code{\link{title}()} and Index: src/library/graphics/man/boxplot.Rd ==================================================================RCS file: /cvs/R/src/library/graphics/man/boxplot.Rd,v retrieving revision 1.1 diff -u -r1.1 boxplot.Rd --- src/library/graphics/man/boxplot.Rd 2003/12/09 07:24:22 1.1 +++ src/library/graphics/man/boxplot.Rd 2003/12/12 15:44:57 @@ -62,7 +62,7 @@ boxplots. The values in \code{border} are recycled if the length of \code{border} is less than the number of plots.} \item{col}{if \code{col} is non-null it is assumed to contain colors - to be used to col the bodies of the box plots.} + to be used to color the bodies of the box plots.} \item{log}{character indicating if x or y or both coordinates should be plotted in log scale.} \item{pars}{a list of graphical parameters; these are passed to Index: src/library/graphics/man/boxplot.stats.Rd ==================================================================RCS file: /cvs/R/src/library/graphics/man/boxplot.stats.Rd,v retrieving revision 1.2 diff -u -r1.2 boxplot.stats.Rd --- src/library/graphics/man/boxplot.stats.Rd 2003/12/09 09:11:10 1.2 +++ src/library/graphics/man/boxplot.stats.Rd 2003/12/12 15:44:57 @@ -27,7 +27,7 @@ \item{stats}{a vector of length 5, containing the extreme of the lower whisker, the lower \dQuote{hinge}, the median, the upper \dQuote{hinge} and the extreme of the upper whisker.} - \item{n}{the number of of non-\code{NA} observations in the sample.} + \item{n}{the number of non-\code{NA} observations in the sample.} \item{conf}{the lower and upper extremes of the \dQuote{notch} (\code{if(do.conf)}).} \item{out}{the values of any data points which lie beyond the extremes of the whiskers (\code{if(do.out)}).} Index: src/library/graphics/man/dev2bitmap.Rd ==================================================================RCS file: /cvs/R/src/library/graphics/man/dev2bitmap.Rd,v retrieving revision 1.1 diff -u -r1.1 dev2bitmap.Rd --- src/library/graphics/man/dev2bitmap.Rd 2003/12/09 07:24:22 1.1 +++ src/library/graphics/man/dev2bitmap.Rd 2003/12/12 15:44:57 @@ -52,7 +52,7 @@ \code{type = "pdfwrite"}, and the PDF produced is not bitmapped. For formats which contain a single image, a file specification like - \code{Rplots\%03d.png} can be used: this is intepreted by GhostScript. + \code{Rplots\%03d.png} can be used: this is interpreted by GhostScript. For \code{dev2bitmap} if just one of \code{width} and \code{height} is specified, the other is chosen to preserve aspect ratio of the Index: src/library/graphics/man/filled.contour.Rd ==================================================================RCS file: /cvs/R/src/library/graphics/man/filled.contour.Rd,v retrieving revision 1.1 diff -u -r1.1 filled.contour.Rd --- src/library/graphics/man/filled.contour.Rd 2003/12/09 07:24:22 1.1 +++ src/library/graphics/man/filled.contour.Rd 2003/12/12 15:44:58 @@ -38,7 +38,7 @@ colors in the plot.} \item{col}{an explicit set of colors to be used in the plot. This argument overrides any palette function specification.} - \item{plot.title}{statements which add titles the main plot.} + \item{plot.title}{statements which add titles to the main plot.} \item{plot.axes}{statements which draw axes (and a \code{\link{box}}) on the main plot. This overrides the default axes.} \item{key.title}{statements which add titles for the plot key.} Index: src/library/graphics/man/hsv.Rd ==================================================================RCS file: /cvs/R/src/library/graphics/man/hsv.Rd,v retrieving revision 1.1 diff -u -r1.1 hsv.Rd --- src/library/graphics/man/hsv.Rd 2003/12/09 07:24:22 1.1 +++ src/library/graphics/man/hsv.Rd 2003/12/12 15:44:58 @@ -13,7 +13,7 @@ \dQuote{hue}, \dQuote{saturation} and \dQuote{value} to be combined to form a vector of colors. Values in shorter arguments are recycled.} - \item{gamma}{a \dQuote{gamma correction}} + \item{gamma}{a \dQuote{gamma correction}, \eqn{\gamma}} } \value{ This function creates a vector of \dQuote{colors} corresponding to the @@ -23,7 +23,7 @@ } \section{Gamma correction}{ For each color, \eqn{(r,g,b)} in RGB space (with all values in \eqn{[0,1]}), - the final color corresponds to \eqn{(r^gamma, g^gamma, b^gamma)}. + the final color corresponds to \eqn{(r^{\gamma}, g^{\gamma}, b^{\gamma})}. } \seealso{ \code{\link{rainbow}}, Index: src/library/graphics/man/layout.Rd ==================================================================RCS file: /cvs/R/src/library/graphics/man/layout.Rd,v retrieving revision 1.1 diff -u -r1.1 layout.Rd --- src/library/graphics/man/layout.Rd 2003/12/09 07:24:22 1.1 +++ src/library/graphics/man/layout.Rd 2003/12/12 15:44:58 @@ -35,7 +35,7 @@ latter, then it must have the same dimensions as \code{mat} and each value in the matrix must be either \code{0} or \code{1}.} \item{n}{number of figures to plot.} - \item{x}{a dimension to be intepreted as a number of centimetres.} + \item{x}{a dimension to be interpreted as a number of centimetres.} } \details{ Figure \eqn{i} is allocated a region composed from a subset Index: src/library/graphics/man/lines.Rd ==================================================================RCS file: /cvs/R/src/library/graphics/man/lines.Rd,v retrieving revision 1.1 diff -u -r1.1 lines.Rd --- src/library/graphics/man/lines.Rd 2003/12/09 07:24:22 1.1 +++ src/library/graphics/man/lines.Rd 2003/12/12 15:44:58 @@ -29,7 +29,7 @@ etc. See \code{\link{xy.coords}}. The coordinates can contain \code{NA} values. If a point contains - \code{NA} it either its \code{x} or \code{y} value, it is omitted from + \code{NA} in either its \code{x} or \code{y} value, it is omitted from the plot, and lines are not drawn to or from such points. Thus missing values can be used to achieve breaks in lines. } Index: src/library/graphics/man/mtext.Rd ==================================================================RCS file: /cvs/R/src/library/graphics/man/mtext.Rd,v retrieving revision 1.1 diff -u -r1.1 mtext.Rd --- src/library/graphics/man/mtext.Rd 2003/12/09 07:24:22 1.1 +++ src/library/graphics/man/mtext.Rd 2003/12/12 15:44:58 @@ -15,7 +15,7 @@ } \item{adj}{adjustment for each string. For strings parallel to the axes, \code{adj=0} means left or bottom alignment, and - \code{adj=1} means right or top aligment. + \code{adj=1} means right or top alignment. If \code{adj} is not a finite value (the default), the value \code{par("las")} determines the adjustment. For strings plotted parallel to the axis the default is to centre the string.} @@ -46,7 +46,7 @@ the device region rather than the plot region. Parameter \code{las} will determine the orientation of the string(s). - For strings plotted perpendicular to the axis the default justifcation + For strings plotted perpendicular to the axis the default justification is to place the end of the string nearest the axis on the specified line. Note that if the text is to be plotted perpendicular to the axis, Index: src/library/graphics/man/pdf.Rd ==================================================================RCS file: /cvs/R/src/library/graphics/man/pdf.Rd,v retrieving revision 1.1 diff -u -r1.1 pdf.Rd --- src/library/graphics/man/pdf.Rd 2003/12/09 07:24:22 1.1 +++ src/library/graphics/man/pdf.Rd 2003/12/12 15:44:58 @@ -62,7 +62,7 @@ \note{ Acrobat Reader does not use the fonts specified but rather emulates them from multiple-master fonts. This can be seen in imprecise - centring of characters, for example the multiply and divide signs in + centering of characters, for example the multiply and divide signs in Helvetica. } \seealso{ Index: src/library/graphics/man/polygon.Rd ==================================================================RCS file: /cvs/R/src/library/graphics/man/polygon.Rd,v retrieving revision 1.1 diff -u -r1.1 polygon.Rd --- src/library/graphics/man/polygon.Rd 2003/12/09 07:24:22 1.1 +++ src/library/graphics/man/polygon.Rd 2003/12/12 15:44:58 @@ -29,7 +29,7 @@ \item{border}{the color to draw the border. The default, \code{NULL}, uses \code{\link{par}("fg")}. Use \code{border = NA} to omit borders. - For compatibility with S, \code{border} can also be logical, it + For compatibility with S, \code{border} can also be logical, in which case \code{FALSE} is equivalent to \code{NA} (borders omitted) and \code{TRUE} is equivalent to \code{NULL} (use the foreground colour), } @@ -60,7 +60,7 @@ } \section{Bugs}{ The present shading algorithm can produce incorrect results for - self-intesecting polygons. + self-intersecting polygons. } \author{The code implementing polygon shading was donated by Kevin Buhr \email{buhr@stat.wisc.edu}.} Index: src/library/graphics/man/postscript.Rd ==================================================================RCS file: /cvs/R/src/library/graphics/man/postscript.Rd,v retrieving revision 1.3 diff -u -r1.3 postscript.Rd --- src/library/graphics/man/postscript.Rd 2003/12/12 06:40:52 1.3 +++ src/library/graphics/man/postscript.Rd 2003/12/12 15:44:59 @@ -156,7 +156,7 @@ \code{"NimbusSan"}, \code{"NimbusSanCond"}, \code{"CenturySch"}, \code{"URWPalladio"} and \code{"NimbusRom"} respectively. If your PostScript device is using URW fonts, you will obtain access to more - characters and more approriate metrics by using these names. To make + characters and more appropriate metrics by using these names. To make these easier to remember, \code{"URWHelvetica" == "NimbusSan"} and \code{"URWTimes" == "NimbusRom"} are also supported. Index: src/library/graphics/man/stars.Rd ==================================================================RCS file: /cvs/R/src/library/graphics/man/stars.Rd,v retrieving revision 1.1 diff -u -r1.1 stars.Rd --- src/library/graphics/man/stars.Rd 2003/12/09 07:24:22 1.1 +++ src/library/graphics/man/stars.Rd 2003/12/12 15:44:59 @@ -75,7 +75,7 @@ \item{lty}{line type used for drawing.} \item{xpd}{logical or NA indicating if clipping should be done, see \code{\link{par}(xpd = .)}.} - \item{mar}{argument to \code{\link{par}(mar = *)}, typically chosing + \item{mar}{argument to \code{\link{par}(mar = *)}, typically choosing smaller margings than by default.} \item{\dots}{further arguments, passed to the first call of \code{plot()}, see \code{\link{plot.default}} and to Index: src/library/graphics/man/sunflowerplot.Rd ==================================================================RCS file: /cvs/R/src/library/graphics/man/sunflowerplot.Rd,v retrieving revision 1.2 diff -u -r1.2 sunflowerplot.Rd --- src/library/graphics/man/sunflowerplot.Rd 2003/12/09 09:11:10 1.2 +++ src/library/graphics/man/sunflowerplot.Rd 2003/12/12 15:44:59 @@ -25,7 +25,7 @@ \code{\link{plot.default}}.} \item{digits}{when \code{number} is computed (i.e., not specified), \code{x} and \code{y} are rounded to \code{digits} significant - digits before multiplicities are computes.} + digits before multiplicities are computed.} \item{xlab,ylab}{character label for x-, or y-axis, respectively.} \item{xlim,ylim}{\code{numeric(2)} limiting the extents of the x-, or y-axis.} Index: src/library/graphics/man/xy.coords.Rd ==================================================================RCS file: /cvs/R/src/library/graphics/man/xy.coords.Rd,v retrieving revision 1.2 diff -u -r1.2 xy.coords.Rd --- src/library/graphics/man/xy.coords.Rd 2003/12/09 09:11:10 1.2 +++ src/library/graphics/man/xy.coords.Rd 2003/12/12 15:44:59 @@ -30,7 +30,7 @@ \code{yvar} are used as x and y variables.} \item{list:}{containing components \code{x} and \code{y}, these are - used are assumed to define plotting coordinates.} + used to define plotting coordinates.} \item{time series:}{the x values are taken to be \code{\link[stats]{time}(x)} and the y values to be the time series.} Index: src/library/graphics/man/xyz.coords.Rd ==================================================================RCS file: /cvs/R/src/library/graphics/man/xyz.coords.Rd,v retrieving revision 1.1 diff -u -r1.1 xyz.coords.Rd --- src/library/graphics/man/xyz.coords.Rd 2003/12/09 07:24:22 1.1 +++ src/library/graphics/man/xyz.coords.Rd 2003/12/12 15:44:59 @@ -11,7 +11,7 @@ } \arguments{ \item{x, y, z}{the x, y and z coordinates of a set of points. - Alternatively, a single argument \code{x} can be be provided. + Alternatively, a single argument \code{x} can be provided. In this case, an attempt is made to interpret the argument in a way suitable for plotting. @@ -23,7 +23,7 @@ if the argument is a matrix with three columns, the first is assumed to contain the x values, etc. - Alternatively, two arguments \code{x} and \code{y} can be be provided. + Alternatively, two arguments \code{x} and \code{y} can be provided. One may be real, the other complex; in any other case, the arguments are coerced to vectors and the values plotted against their indices. Index: src/library/graphics/man/unix/png.Rd ==================================================================RCS file: /cvs/R/src/library/graphics/man/unix/png.Rd,v retrieving revision 1.1 diff -u -r1.1 png.Rd --- src/library/graphics/man/unix/png.Rd 2003/12/09 08:07:05 1.1 +++ src/library/graphics/man/unix/png.Rd 2003/12/12 15:45:00 @@ -60,7 +60,7 @@ } \section{Warning}{ If you plot more than one page on one of these devices and do not - include somthing like \code{\%d} for the sequence number in + include something like \code{\%d} for the sequence number in \code{file}, the file will contain the last page plotted. } \note{ Index: src/library/graphics/man/windows/png.Rd ==================================================================RCS file: /cvs/R/src/library/graphics/man/windows/png.Rd,v retrieving revision 1.1 diff -u -r1.1 png.Rd --- src/library/graphics/man/windows/png.Rd 2003/12/09 08:07:05 1.1 +++ src/library/graphics/man/windows/png.Rd 2003/12/12 15:45:00 @@ -21,7 +21,7 @@ characters long.)} \item{width}{the width of the device in pixels.} \item{height}{the height of the device in pixels.} - \item{pointsize}{the default pointsize of plotted text, intepreted at + \item{pointsize}{the default pointsize of plotted text, interpreted at 72 dpi, so one point is approximately one pixel.} \item{bg}{the initial background colour: can be overridden by setting par("bg").} @@ -52,7 +52,7 @@ } \section{Warning}{ If you plot more than one page on one of these devices and do not - include somthing like \code{\%d} for the sequence number in + include something like \code{\%d} for the sequence number in \code{file}, the file will contain the last page plotted. } \note{ Index: src/library/methods/man/new.Rd ==================================================================RCS file: /cvs/R/src/library/methods/man/new.Rd,v retrieving revision 1.10 diff -u -r1.10 new.Rd --- src/library/methods/man/new.Rd 2003/09/01 09:38:21 1.10 +++ src/library/methods/man/new.Rd 2003/12/12 15:45:00 @@ -3,7 +3,7 @@ \alias{initialize} \title{ Generate an Object from a Class } \description{ - Given the the name or the definition of a class, plus optionally data + Given the name or the definition of a class, plus optionally data to be included in the object, \code{new} returns an object from that class. } Index: src/library/stats/man/anova.glm.Rd ==================================================================RCS file: /cvs/R/src/library/stats/man/anova.glm.Rd,v retrieving revision 1.1 diff -u -r1.1 anova.glm.Rd --- src/library/stats/man/anova.glm.Rd 2003/12/09 07:24:24 1.1 +++ src/library/stats/man/anova.glm.Rd 2003/12/12 15:45:01 @@ -28,7 +28,7 @@ If more than one object is specified, the table has a row for the residual degrees of freedom and deviance for each model. For all but the first model, the change in degrees of freedom and - deviance is also given. (This only make statistical sense if the + deviance is also given. (This only makes statistical sense if the models are nested.) It is conventional to list the models from smallest to largest, but this is up to the user. Index: src/library/stats/man/density.Rd ==================================================================RCS file: /cvs/R/src/library/stats/man/density.Rd,v retrieving revision 1.1 diff -u -r1.1 density.Rd --- src/library/stats/man/density.Rd 2003/12/09 07:24:24 1.1 +++ src/library/stats/man/density.Rd 2003/12/12 15:45:01 @@ -99,7 +99,7 @@ \item{N}{the sample size after elimination of missing values.} \item{call}{the call which produced the result.} \item{data.name}{the deparsed name of the \code{x} argument.} - \item{has.na}{logical, for compatibility (always FALSE).} + \item{has.na}{logical, for compatibility (always \code{FALSE}).} } \references{ Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) Index: src/library/stats/man/df.residual.Rd ==================================================================RCS file: /cvs/R/src/library/stats/man/df.residual.Rd,v retrieving revision 1.2 diff -u -r1.2 df.residual.Rd --- src/library/stats/man/df.residual.Rd 2003/12/11 17:27:18 1.2 +++ src/library/stats/man/df.residual.Rd 2003/12/12 15:45:01 @@ -16,7 +16,7 @@ \details{ This is a generic function which can be used to extract residual degrees-of-freedom for fitted models. Consult the individual modeling - functions for details details on how to use this function. + functions for details on how to use this function. The default method just extracts the \code{df.residual} component. } Index: src/library/stats/man/eff.aovlist.Rd ==================================================================RCS file: /cvs/R/src/library/stats/man/eff.aovlist.Rd,v retrieving revision 1.1 diff -u -r1.1 eff.aovlist.Rd --- src/library/stats/man/eff.aovlist.Rd 2003/12/09 07:24:24 1.1 +++ src/library/stats/man/eff.aovlist.Rd 2003/12/12 15:45:01 @@ -6,7 +6,7 @@ \alias{eff.aovlist} \arguments{ \item{aovlist}{ - The result of a call to \code{aov} with a \code{Error} term. + The result of a call to \code{aov} with an \code{Error} term. } } \description{ Index: src/library/stats/man/fivenum.Rd ==================================================================RCS file: /cvs/R/src/library/stats/man/fivenum.Rd,v retrieving revision 1.1 diff -u -r1.1 fivenum.Rd --- src/library/stats/man/fivenum.Rd 2003/12/09 07:24:24 1.1 +++ src/library/stats/man/fivenum.Rd 2003/12/12 15:45:01 @@ -10,7 +10,7 @@ } \arguments{ \item{x}{numeric, maybe including \code{\link{NA}}s and - +/-\code{\link{Inf}}s.} + \eqn{\pm}{+/-}\code{\link{Inf}}s.} \item{na.rm}{logical; if \code{TRUE}, all \code{\link{NA}} and \code{\link{NaN}}s are dropped, before the statistics are computed.} } Index: src/library/stats/man/loglin.Rd ==================================================================RCS file: /cvs/R/src/library/stats/man/loglin.Rd,v retrieving revision 1.1 diff -u -r1.1 loglin.Rd --- src/library/stats/man/loglin.Rd 2003/12/09 07:24:24 1.1 +++ src/library/stats/man/loglin.Rd 2003/12/12 15:45:02 @@ -14,7 +14,7 @@ \code{table}.} \item{margin}{a list of vectors with the marginal totals to be fit. - (Hierarchical) log-linear models can be specified in term of these + (Hierarchical) log-linear models can be specified in terms of these marginal totals which give the \dQuote{maximal} factor subsets contained in the model. For example, in a three-factor model, \code{list(c(1, 2), c(1, 3))} specifies a model which contains Index: src/library/stats/man/mad.Rd ==================================================================RCS file: /cvs/R/src/library/stats/man/mad.Rd,v retrieving revision 1.1 diff -u -r1.1 mad.Rd --- src/library/stats/man/mad.Rd 2003/12/09 07:24:24 1.1 +++ src/library/stats/man/mad.Rd 2003/12/12 15:45:02 @@ -7,7 +7,7 @@ \alias{mad} \arguments{ \item{x}{a numeric vector.} - \item{center}{Optionally, the centre: defauls to the median.} + \item{center}{Optionally, the centre: defaults to the median.} \item{constant}{scale factor.} \item{na.rm}{if \code{TRUE} then \code{NA} values are stripped from \code{x} before computation takes place.} Index: src/library/stats/man/model.frame.Rd ==================================================================RCS file: /cvs/R/src/library/stats/man/model.frame.Rd,v retrieving revision 1.2 diff -u -r1.2 model.frame.Rd --- src/library/stats/man/model.frame.Rd 2003/12/09 16:41:55 1.2 +++ src/library/stats/man/model.frame.Rd 2003/12/12 15:45:02 @@ -27,8 +27,8 @@ \item{subset}{a specification of the rows to be used: defaults to all rows. This can be any valid indexing vector (see - \code{\link{[.data.frame}} for the rows of \code{data} or if that is not - supplied, a data frame made up of the variables used in \code{formula}.} + \code{\link{data.frame}} for the rows of \code{data} or if that is not + supplied, a data frame made up of the variables used in \code{formula}).} \item{na.action}{how \code{NA}s are treated. The default is first, any \code{na.action} attribute of \code{data}, second @@ -74,7 +74,7 @@ are looked for first in \code{data} and then in the environment of \code{formula} (see the help for \code{\link{formula}()} for further details) and collected into a data frame. Then the \code{subset} - expression is evaluated, and it is is used as a row index to the data + expression is evaluated, and it is used as a row index to the data frame. Then the \code{na.action} function is applied to the data frame (and may well add attributes). The levels of any factors in the data frame are adjusted according to the \code{drop.unused.levels} and Index: src/library/stats/man/nafns.Rd ==================================================================RCS file: /cvs/R/src/library/stats/man/nafns.Rd,v retrieving revision 1.1 diff -u -r1.1 nafns.Rd --- src/library/stats/man/nafns.Rd 2003/12/09 07:24:24 1.1 +++ src/library/stats/man/nafns.Rd 2003/12/12 15:45:02 @@ -30,11 +30,11 @@ These are utility functions used to allow \code{\link{predict}} and \code{\link{resid}} methods for modelling functions to compensate for the removal of \code{NA}s in the fitting process. They are used by - the default, \code{"lm"} and \code{"glm"} methods, and by further + the default \code{"lm"} and \code{"glm"} methods, and by further methods in packages \pkg{MASS}, \pkg{rpart} and \pkg{survival}. - The default methods do nothing. The method for the \code{na.exclude} - action to pad the object with \code{NA}s in the correct positions to + The default methods do nothing. The default method for the \code{na.exclude} + action is to pad the object with \code{NA}s in the correct positions to have the same number of rows as the original data frame. Currently \code{naresid} and \code{napredict} are identical, but Index: src/library/stats/man/nlm.Rd ==================================================================RCS file: /cvs/R/src/library/stats/man/nlm.Rd,v retrieving revision 1.2 diff -u -r1.2 nlm.Rd --- src/library/stats/man/nlm.Rd 2003/12/11 07:16:06 1.2 +++ src/library/stats/man/nlm.Rd 2003/12/12 15:45:02 @@ -17,9 +17,9 @@ \code{hessian} attributes, these will be used in the calculation of updated parameter values. Otherwise, numerical derivatives are used. \code{\link{deriv}} returns a function with suitable - \code{gradient} attribute. This should be a function a vector of - the length of \code{p} followed by any other arguments specified - in \code{dots}.} + \code{gradient} attribute. This should be a function of a vector of + the length of \code{p} followed by any additional parameters specified + by the \code{\dots} argument.} \item{p}{starting parameter values for the minimization.} \item{hessian}{if \code{TRUE}, the hessian of \code{f} at the minimum is returned.} @@ -67,7 +67,7 @@ \value{ A list containing the following components: \item{minimum}{the value of the estimated minimum of \code{f}.} - \item{estimate}{the point at which the mininum value of + \item{estimate}{the point at which the minimum value of \code{f} is obtained.} \item{gradient}{the gradient at the estimated minimum of \code{f}.} \item{hessian}{the hessian at the estimated minimum of \code{f} (if Index: src/library/stats/man/optimize.Rd ==================================================================RCS file: /cvs/R/src/library/stats/man/optimize.Rd,v retrieving revision 1.1 diff -u -r1.1 optimize.Rd --- src/library/stats/man/optimize.Rd 2003/12/09 07:24:24 1.1 +++ src/library/stats/man/optimize.Rd 2003/12/12 15:45:02 @@ -45,7 +45,7 @@ and \eqn{x_0} is the final abscissa \code{optimize()$minimum}.\cr If \code{f} is a unimodal function and the computed values of \code{f} are always unimodal when separated by at least \eqn{\epsilon}{eps *} - \eqn{ |x| + (tol/3)}, then \eqn{x_0} approximates the abcissa of the + \eqn{ |x| + (tol/3)}, then \eqn{x_0} approximates the abscissa of the global minimum of \code{f} on the interval \code{lower,upper} with an error less than \eqn{\epsilon}{eps *}\eqn{ |x_0|+ tol}.\cr If \code{f} is not unimodal, then \code{optimize()} may approximate a Index: src/library/stats/man/plot.lm.Rd ==================================================================RCS file: /cvs/R/src/library/stats/man/plot.lm.Rd,v retrieving revision 1.1 diff -u -r1.1 plot.lm.Rd --- src/library/stats/man/plot.lm.Rd 2003/12/09 07:24:24 1.1 +++ src/library/stats/man/plot.lm.Rd 2003/12/12 15:45:03 @@ -91,7 +91,7 @@ plot(lm.SR, id.n = NULL) # no id's plot(lm.SR, id.n = 5, labels.id = NULL)# 5 id numbers -## Fit a smmooth curve, where applicable: +## Fit a smooth curve, where applicable: plot(lm.SR, panel = panel.smooth) ## Gives a smoother curve plot(lm.SR, panel = function(x,y) panel.smooth(x, y, span = 1)) Index: src/library/stats/man/poly.Rd ==================================================================RCS file: /cvs/R/src/library/stats/man/poly.Rd,v retrieving revision 1.1 diff -u -r1.1 poly.Rd --- src/library/stats/man/poly.Rd 2003/12/09 07:24:24 1.1 +++ src/library/stats/man/poly.Rd 2003/12/12 15:45:03 @@ -31,7 +31,7 @@ A matrix with rows corresponding to points in \code{x} and columns corresponding to the degree, with attributes \code{"degree"} specifying the degrees of the columns and \code{"coefs"} which contains the - centring and normalization constants used in constructing the + centering and normalization constants used in constructing the orthogonal polynomials. The matrix is given class \code{c("poly", "matrix")} as from \R 1.5.0. @@ -45,7 +45,7 @@ The orthogonal polynomial is summarized by the coefficients, which can be used to evaluate it via the three-term recursion given in Kennedy - \& Gentle (1980, pp. 343-4), and use in the \dQuote{predict} part of + \& Gentle (1980, pp. 343-4), and used in the \dQuote{predict} part of the code. } \note{ Index: src/library/stats/man/printCoefmat.Rd ==================================================================RCS file: /cvs/R/src/library/stats/man/printCoefmat.Rd,v retrieving revision 1.1 diff -u -r1.1 printCoefmat.Rd --- src/library/stats/man/printCoefmat.Rd 2003/12/09 07:24:24 1.1 +++ src/library/stats/man/printCoefmat.Rd 2003/12/12 15:45:03 @@ -43,7 +43,7 @@ \code{TRUE} \emph{and} \code{x} has at least 4 columns \emph{and} the last column name of \code{x} starts with \code{"Pr("}.} \item{has.Pvalue}{logical; if \code{TRUE}, the last column of \code{x} - contains P values; in that case, it is printed \emph{iff} + contains P values; in that case, it is printed if and only if \code{P.values} (above) is true.} \item{eps.Pvalue}{number,..} \item{na.print}{a character string to code \code{\link{NA}} values in Index: src/library/stats/man/quantile.Rd ==================================================================RCS file: /cvs/R/src/library/stats/man/quantile.Rd,v retrieving revision 1.1 diff -u -r1.1 quantile.Rd --- src/library/stats/man/quantile.Rd 2003/12/09 07:24:24 1.1 +++ src/library/stats/man/quantile.Rd 2003/12/12 15:45:03 @@ -28,7 +28,7 @@ if \code{names = TRUE}, it has a \code{\link{names}} attribute. \code{quantile(x,p)} as a function of \code{p} linearly interpolates - the points ( (i-1)/(n-1), ox[i] ), where + the points \eqn{( (i-1)/(n-1), ox[i] )}, where \code{ox <- sort(x)} and \code{n <- length(x)}. This gives \code{quantile(x, p) == (1-f)*ox[i] + f*ox[i+1]}, where Index: src/library/stats/man/read.ftable.Rd ==================================================================RCS file: /cvs/R/src/library/stats/man/read.ftable.Rd,v retrieving revision 1.1 diff -u -r1.1 read.ftable.Rd --- src/library/stats/man/read.ftable.Rd 2003/12/09 07:24:24 1.1 +++ src/library/stats/man/read.ftable.Rd 2003/12/12 15:45:03 @@ -60,7 +60,7 @@ function \code{as.table}. } \seealso{ - \code{\link{ftable}} for more information on flat contingencty tables. + \code{\link{ftable}} for more information on flat contingency tables. } \references{ Agresti, A. (1990) Index: src/library/stats/man/summary.glm.Rd ==================================================================RCS file: /cvs/R/src/library/stats/man/summary.glm.Rd,v retrieving revision 1.1 diff -u -r1.1 summary.glm.Rd --- src/library/stats/man/summary.glm.Rd 2003/12/09 07:24:24 1.1 +++ src/library/stats/man/summary.glm.Rd 2003/12/12 15:45:03 @@ -61,7 +61,7 @@ z-values and p-values. Aliased coefficients are omitted.} \item{aliased}{named logical vector showing if the original coefficients are aliased.} - \item{dispersion}{eother the supplied argument or the estimated + \item{dispersion}{either the supplied argument or the estimated dispersion if the latter in \code{NULL}} \item{df}{a 3-vector of the rank of the model and the number of residual degrees of freedom, plus number of non-aliased coefficients.} Index: src/library/stats/man/symnum.Rd ==================================================================RCS file: /cvs/R/src/library/stats/man/symnum.Rd,v retrieving revision 1.1 diff -u -r1.1 symnum.Rd --- src/library/stats/man/symnum.Rd 2003/12/09 07:24:24 1.1 +++ src/library/stats/man/symnum.Rd 2003/12/12 15:45:03 @@ -39,9 +39,9 @@ \item{show.max}{if \code{TRUE}, or of mode \code{character}, the maximal cutpoint is coded especially.} \item{show.min}{if \code{TRUE}, or of mode \code{character}, the - minmal cutpoint is coded especially.} + minimal cutpoint is coded especially.} \item{abbr.colnames}{logical, integer or \code{NULL} indicating how - column names should be abbreviated (if there are); if \code{NULL} + column names should be abbreviated (if they are); if \code{NULL} (or \code{FALSE} and \code{x} has no column names), the column names will all be empty, i.e., \code{""}; otherwise if \code{abbr.colnames} is false, they are left unchanged. If Index: src/library/stats/man/termplot.Rd ==================================================================RCS file: /cvs/R/src/library/stats/man/termplot.Rd,v retrieving revision 1.1 diff -u -r1.1 termplot.Rd --- src/library/stats/man/termplot.Rd 2003/12/09 07:24:24 1.1 +++ src/library/stats/man/termplot.Rd 2003/12/12 15:45:03 @@ -45,7 +45,7 @@ } \details{ The model object must have a \code{predict} method that accepts - \code{type=terms}, eg \code{\link{glm}} in the\pkg{base} package, + \code{type=terms}, eg \code{\link{glm}} in the \pkg{base} package, \code{\link[survival]{coxph}} and \code{\link[survival]{survreg}} in the \pkg{survival} package. Index: src/library/stats/man/ts.Rd ==================================================================RCS file: /cvs/R/src/library/stats/man/ts.Rd,v retrieving revision 1.1 diff -u -r1.1 ts.Rd --- src/library/stats/man/ts.Rd 2003/12/09 07:24:24 1.1 +++ src/library/stats/man/ts.Rd 2003/12/12 15:45:04 @@ -52,7 +52,7 @@ points in time. In the matrix case, each column of the matrix \code{data} is assumed to contain a single (univariate) time series. Time series must have an least one observation, and although they need - not be no numeric there is very limited support for non-numeric series. + not be numeric there is very limited support for non-numeric series. Class \code{"ts"} has a number of methods. In particular arithmetic will attempt to align time axes, and subsetting to extract subsets of @@ -75,7 +75,7 @@ it has one to set the start and end times and frequency. \code{is.ts} tests if an object is a time series. It is generic: you - can write methods to handle of specific classes of objects, + can write methods to handle specific classes of objects, see \link{InternalMethods}. } \references{ Index: src/library/utils/man/capture.output.Rd ==================================================================RCS file: /cvs/R/src/library/utils/man/capture.output.Rd,v retrieving revision 1.1 diff -u -r1.1 capture.output.Rd --- src/library/utils/man/capture.output.Rd 2003/12/09 07:24:25 1.1 +++ src/library/utils/man/capture.output.Rd 2003/12/12 15:45:04 @@ -12,7 +12,7 @@ \arguments{ \item{\dots}{Expressions to be evaluated} \item{file}{A file name or a connection, or \code{NULL} to return - the output as a string. If the connnection is not open it will be + the output as a string. If the connection is not open it will be opened and then closed on exit.} \item{append}{Append or overwrite the file? } } Index: src/library/utils/man/dataentry.Rd ==================================================================RCS file: /cvs/R/src/library/utils/man/dataentry.Rd,v retrieving revision 1.1 diff -u -r1.1 dataentry.Rd --- src/library/utils/man/dataentry.Rd 2003/12/09 07:24:25 1.1 +++ src/library/utils/man/dataentry.Rd 2003/12/12 15:45:04 @@ -73,7 +73,7 @@ right or down will scroll the grid as needed: there is no constraint to the rows or columns currently in use. - The are alternative ways to navigate using the keys. Return and + There are alternative ways to navigate using the keys. Return and (keypad) Enter and LineFeed all move down. Tab moves right and Shift-Tab move left. Home moves to the top left. Index: src/library/utils/man/help.search.Rd ==================================================================RCS file: /cvs/R/src/library/utils/man/help.search.Rd,v retrieving revision 1.1 diff -u -r1.1 help.search.Rd --- src/library/utils/man/help.search.Rd 2003/12/09 07:24:25 1.1 +++ src/library/utils/man/help.search.Rd 2003/12/12 15:45:05 @@ -22,7 +22,7 @@ fields. If this is given, the arguments \code{apropos}, \code{keyword}, and \code{whatis} are ignored.} \item{fields}{a character vector specifying the fields of the help - data bases to be searched. The entries must be abbreviations of + databases to be searched. The entries must be abbreviations of \code{"name"}, \code{"title"}, \code{"alias"}, \code{"concept"}, and \code{"keyword"}, corresponding to the help page's (file) name, its title, the topics and concepts it provides documentation for, and @@ -46,9 +46,9 @@ library trees to search through, or \code{NULL}. The default value of \code{NULL} corresponds to all libraries currently known.} \item{help.db}{a character string giving the file path to a previously - built and saved help data base, or \code{NULL}.} + built and saved help database, or \code{NULL}.} \item{verbose}{logical; if \code{TRUE}, the search process is traced.} - \item{rebuild}{a logical indicating whether the help data base should + \item{rebuild}{a logical indicating whether the help database should be rebuilt.} \item{agrep}{if \code{NULL} (the default unless \code{keyword} is used) and the character string to @@ -62,7 +62,7 @@ \code{max.distance} in the documentation for \code{\link{agrep}}.} } \details{ - Upon installation of a package, a contents data base which contains + Upon installation of a package, a contents database which contains the information on name, title, aliases and keywords and, concepts starting with \R 1.8.0, is computed from the Rd files in the package and serialized as \file{Rd.rds} in the \file{Meta} subdirectory of the @@ -70,13 +70,13 @@ \file{CONTENTS} in Debian Control Format with aliases and keywords collapsed to character strings in the top-level package installation directory). This, or a pre-built help.search index serialized as - \file{hsearch.rds} in the \file{Meta} directory, is the data base + \file{hsearch.rds} in the \file{Meta} directory, is the database searched by \code{help.search()}. The arguments \code{apropos} and \code{whatis} play a role similar to the Unix commands with the same names. - If possible, the help data base is saved to the file \file{help.db} in + If possible, the help database is saved to the file \file{help.db} in the \file{.R} subdirectory of the user's home directory or the current working directory. Index: src/library/utils/man/remove.packages.Rd ==================================================================RCS file: /cvs/R/src/library/utils/man/remove.packages.Rd,v retrieving revision 1.1 diff -u -r1.1 remove.packages.Rd --- src/library/utils/man/remove.packages.Rd 2003/12/09 07:24:25 1.1 +++ src/library/utils/man/remove.packages.Rd 2003/12/12 15:45:05 @@ -12,7 +12,7 @@ removed.} \item{lib}{a character string giving the library directory to move the packages from.} - \item{version}{A character string specifying a specific version of the + \item{version}{A character string specifying a version of the package to remove. If none is provided, the system will remove an unversioned install of the package.} } Index: src/library/utils/man/update.packages.Rd ==================================================================RCS file: /cvs/R/src/library/utils/man/update.packages.Rd,v retrieving revision 1.1 diff -u -r1.1 update.packages.Rd --- src/library/utils/man/update.packages.Rd 2003/12/09 07:24:25 1.1 +++ src/library/utils/man/update.packages.Rd 2003/12/12 15:45:05 @@ -57,7 +57,7 @@ install the packages.} \item{ask}{logical indicating to ask before packages are actually downloaded and installed.} - \item{installWithVers}{If \code{TRUE}, will invoke the install the + \item{installWithVers}{If \code{TRUE}, will install the package such that it can be referenced by package version} } \details{ Index: src/library/utils/man/unix/make.packages.html.Rd ==================================================================RCS file: /cvs/R/src/library/utils/man/unix/make.packages.html.Rd,v retrieving revision 1.1 diff -u -r1.1 make.packages.html.Rd --- src/library/utils/man/unix/make.packages.html.Rd 2003/12/09 08:07:06 1.1 +++ src/library/utils/man/unix/make.packages.html.Rd 2003/12/12 15:45:05 @@ -13,7 +13,7 @@ } \details{ This sets up the links from packages in libraries to the \file{.R} - subdirectory of the per-sesson directory (see \code{\link{tempdir}}) + subdirectory of the per-session directory (see \code{\link{tempdir}}) and then creates the \file{packages.html} and \file{index.txt} files to point to those links.
Seemingly Similar Threads
- documentation fixes (cvs) (PR#5632)
- Please make lowess() generic (was: Reorganization of pac kagesin the R distribution)
- Please make lowess() generic (was: Reorganization of packages in the R distribution)
- documentation bugs (cvs) (PR#5543)
- [PATCH] Regression test portabilization.