Stephen D. Weigand
2006-Feb-28 04:25 UTC
[Rd] Typos in writeLines.Rd, readLines.Rd, and data.matrix.Rd
Hello, The diffs below are based on revision 37445 and show some typo corrections for writeLines.Rd, readLines.Rd, and data.matrix.Rd that I'd like to bring to the list's attention. Sincerely, Stephen Weigand Rochester, Minnesota, USA --- ./src/library/base/man/writeLines.Rd Sun Feb 26 13:46:06 2006 +++ /tmp/writeLines.Rd Sun Feb 26 20:53:44 2006 @@ -14,8 +14,8 @@ each line of text.} } \details{ - If the \code{con} is a character string, the functions call - \code{\link{file}} to obtain an file connection which is opened for + If the \code{con} is a character string, the function calls + \code{\link{file}} to obtain a file connection which is opened for the duration of the function call. If the connection is open it is written from its current position. --- ./src/library/base/man/readLines.Rd Sun Feb 26 13:46:28 2006 +++ /tmp/readLines.Rd Sun Feb 26 21:08:30 2006 @@ -16,8 +16,8 @@ \code{n > 0} lines are read? If not, an error will be generated.} } \details{ - If the \code{con} is a character string, the functions call - \code{\link{file}} to obtain an file connection which is opened for + If the \code{con} is a character string, the function calls + \code{\link{file}} to obtain a file connection which is opened for the duration of the function call. If the connection is open it is read from its current position. --- ./src/library/base/man/data.matrix.Rd Sun Feb 26 13:46:15 2006 +++ /tmp/data.matrix.Rd Sun Feb 26 21:14:33 2006 @@ -15,7 +15,7 @@ factors or numeric vectors.} } \details{ - Suppling a data frame with columns which are not numeric, factor or logical + Supplying a data frame with columns which are not numeric, factor or logical is an error. A warning is given if any non-factor column has a class, as then information can be lost. }
Prof Brian Ripley
2006-Feb-28 06:15 UTC
[Rd] Typos in writeLines.Rd, readLines.Rd, and data.matrix.Rd
Fixed now, thanks. BTW, supplying patches inline almost always does not work as lines get wrapped, tabs converted .... A text attachment should be better. On Mon, 27 Feb 2006, Stephen D. Weigand wrote:> Hello, > > The diffs below are based on revision 37445 and show > some typo corrections for writeLines.Rd, readLines.Rd, > and data.matrix.Rd that I'd like to bring to the list's > attention. > > Sincerely, > > Stephen Weigand > Rochester, Minnesota, USA > > > > --- ./src/library/base/man/writeLines.Rd Sun Feb 26 13:46:06 2006 > +++ /tmp/writeLines.Rd Sun Feb 26 20:53:44 2006 > @@ -14,8 +14,8 @@ > each line of text.} > } > \details{ > - If the \code{con} is a character string, the functions call > - \code{\link{file}} to obtain an file connection which is opened for > + If the \code{con} is a character string, the function calls > + \code{\link{file}} to obtain a file connection which is opened for > the duration of the function call. > > If the connection is open it is written from its current position. > > > --- ./src/library/base/man/readLines.Rd Sun Feb 26 13:46:28 2006 > +++ /tmp/readLines.Rd Sun Feb 26 21:08:30 2006 > @@ -16,8 +16,8 @@ > \code{n > 0} lines are read? If not, an error will be generated.} > } > \details{ > - If the \code{con} is a character string, the functions call > - \code{\link{file}} to obtain an file connection which is opened for > + If the \code{con} is a character string, the function calls > + \code{\link{file}} to obtain a file connection which is opened for > the duration of the function call. > > If the connection is open it is read from its current position. > > > --- ./src/library/base/man/data.matrix.Rd Sun Feb 26 13:46:15 2006 > +++ /tmp/data.matrix.Rd Sun Feb 26 21:14:33 2006 > @@ -15,7 +15,7 @@ > factors or numeric vectors.} > } > \details{ > - Suppling a data frame with columns which are not numeric, factor or > logical > + Supplying a data frame with columns which are not numeric, factor or > logical > is an error. A warning is given if any non-factor column has a > class, > as then information can be lost. > } > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595