From 9d2c01b49b8f0f7fd51972f65771b4cd5b8cc486 Mon Sep 17 00:00:00 2001 From: Michael Kane Date: Wed, 10 Jan 2018 14:04:22 -0500 Subject: [PATCH] typos --- R/bigmemory.R | 4 ++-- R/hello-bigmemory.R | 2 +- man/bigmemory-package.Rd | 2 +- man/print-big.matrix-method.Rd | 2 +- man/write.big.matrix.Rd | 2 -- 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/R/bigmemory.R b/R/bigmemory.R index 8783311..0aff2dc 100644 --- a/R/bigmemory.R +++ b/R/bigmemory.R @@ -1190,7 +1190,7 @@ setMethod('tail', signature(x="big.matrix"), #' @description \code{print} will print out the elements within #' a \code{big.matrix} object. #' @note By default, this will only return the \code{head} of a big.matrix -#' to prevent console overflow. If you trun off the bigmemory.print.warning +#' to prevent console overflow. If you turn off the bigmemory.print.warning #' option then it will convert to a base R matrix and print all elements. #' @param x A \code{big.matrix} object #' @export @@ -1447,7 +1447,7 @@ setGeneric('read.big.matrix', shared=options()$bigmemory.default.shared) standardGeneric('read.big.matrix')) -#' @@importFrom stats na.omit +#' @importFrom stats na.omit #' @rdname write.big.matrix setMethod('read.big.matrix', signature(filename='character'), function(filename, sep, header, col.names, row.names, has.row.names, diff --git a/R/hello-bigmemory.R b/R/hello-bigmemory.R index 950d133..5dd868e 100644 --- a/R/hello-bigmemory.R +++ b/R/hello-bigmemory.R @@ -88,7 +88,7 @@ #' After removing a last reference to a big \code{big.matrix}, user should manually run #' \code{gc()} to reclaim the memory. #' \item Attaching the description of already finalized \code{big.matrix} and accessing this object -#' will result in undefined behaviour, which simply means it will crash the current R session +#' will result in undefined behavior, which simply means it will crash the current R session #' with no hope of saving the data in it. To prevent R from de-allocating (finalizing) the #' matrices, user should keep at least one \code{big.memory} object somewhere in R memory in at #' least one R session on the current machine. diff --git a/man/bigmemory-package.Rd b/man/bigmemory-package.Rd index 02a0ee7..5e14529 100644 --- a/man/bigmemory-package.Rd +++ b/man/bigmemory-package.Rd @@ -94,7 +94,7 @@ in much less eagerness to garbage-collect the unused \code{big.memory} objects. After removing a last reference to a big \code{big.matrix}, user should manually run \code{gc()} to reclaim the memory. \item Attaching the description of already finalized \code{big.matrix} and accessing this object -will result in undefined behaviour, which simply means it will crash the current R session +will result in undefined behavior, which simply means it will crash the current R session with no hope of saving the data in it. To prevent R from de-allocating (finalizing) the matrices, user should keep at least one \code{big.memory} object somewhere in R memory in at least one R session on the current machine. diff --git a/man/print-big.matrix-method.Rd b/man/print-big.matrix-method.Rd index b2c63e0..3108099 100644 --- a/man/print-big.matrix-method.Rd +++ b/man/print-big.matrix-method.Rd @@ -16,6 +16,6 @@ a \code{big.matrix} object. } \note{ By default, this will only return the \code{head} of a big.matrix -to prevent console overflow. If you trun off the bigmemory.print.warning +to prevent console overflow. If you turn off the bigmemory.print.warning option then it will convert to a base R matrix and print all elements. } diff --git a/man/write.big.matrix.Rd b/man/write.big.matrix.Rd index bbce8d6..155b6b8 100644 --- a/man/write.big.matrix.Rd +++ b/man/write.big.matrix.Rd @@ -84,8 +84,6 @@ of \code{filename}). Create a \code{\link{big.matrix}} by reading from a suitably-formatted ASCII file, or write the contents of a \code{\link{big.matrix}} to a file. - -@importFrom stats na.omit } \details{ Files must contain only one atomic type