length: Returns the number of items in a hash

Description Details Value Author(s) See Also Examples

Description

Returns the number of items in a hash

Details

Return the number of items in the hash by calling length on the internal environment.

Value

integer

Number of items in the hash.

Author(s)

Christpher Brown

See Also

See Also hash, length

Examples

1
2
  h <- hash( letters, 1:26 )
  length(h) # 26

hash documentation built on May 19, 2017, 9:58 a.m.

Search within the hash package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.