R/objectSize.default.R

###########################################################################/**
# @RdocDefault objectSize
#
# @title "Gets the size of the object in bytes"
#
# \description{
#   @get "title".
#   This method is just a wrapper for @see "utils::object.size".
# }
#
# @synopsis
#
# \arguments{
#   \item{...}{Arguments passed to @see "utils::object.size".}
# }
#
# \value{
#  Returns an @integer.
# }
#
# @author
#
# \seealso{
#   Internally @see "utils::object.size".
# }
#
# \keyword{attribute}
# \keyword{utilities}
#*/###########################################################################
setMethodS3("objectSize", "default", function(...) {
  args <- list(...)
  args$.scannedEnvs <- NULL ## Used by objectSize() for environment
  do.call(object.size, args=args)
})

Try the R.oo package in your browser

Any scripts or data that you put into this service are public.

R.oo documentation built on Nov. 2, 2024, 1:07 a.m.