R: Printing

print-memuse {memuse} | R Documentation

## Printing

### Description

Print and show methods for `memuse` class objects.

### Usage

    ## S4 method for signature 'memuse'
    print(
      x,
      ...,
      unit = mu.unit(x),
      prefix = mu.prefix(x),
      names = mu.names(x),
      digits = 3
    )

    ## S4 method for signature 'memuse'
    show(object)

### Arguments

`x, object` | `memuse` class object
`...` | extra arguments
`unit` | the unit to be used in printing; defaults to `x`'s unit
`prefix` | the unit prefix to be used in printing; defaults to `x`'s prefix
`names` | the unit names (short or long) to be used in printing; defaults to `x`'s names
`digits` | the number of decimal digits to print; default is 3

### See Also

`\ link{Constructor} memuse-class`

### Examples

    ## Not run:
    x <- mu(1e6)

    print(x)
    x # same as show(x)

    ## End(Not run)

[Package memuse version 4.1-0 Index]