print.dict: Print generic for dict

Description Usage Arguments Examples

Description

Print generic for dict

Usage

1
2
## S3 method for class 'dict'
print(x, ...)

Arguments

x

Object of type dict.

...

Additional arguments.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
d <- dict(x = 1L, y = 3.14)
print(d)
# A dict of size 2
# x':  int 1
# y':  num 3.14

## Not run: 
vals <- seq(1e4)
keys <- as.character(vals)
long_dict <- dict(keys, vals)
print(long_dict)

## End(Not run)

skubicius/dictionary documentation built on May 7, 2019, 7:17 p.m.