hash-package {hash}R Documentation

Hash/associative array/dictionary data structure for the R language.

Description

This S4 class is designed to provide a hash-like data structure in a native R style and provides the necessary methods for all general methods for hash operations.

Details

Package: hash
Type: Package
Version: 0.22
Date: 2009-04-12
License: GPL 2+
LazyLoad: yes
Depends: methods

Author(s)

Christopher Brown

Maintainer: Christopher Brown <cbrown -at- opendatagroup -dot- com>

References

http://www.mail-archive.com/r-help@r-project.org/msg37637.html

http://www.mail-archive.com/r-help@r-project.org/msg37650.html

http://tolstoy.newcastle.edu.au/R/help/05/12/index.html#18192

See Also

See also hash and environment

Examples


    h <- hash( letters, 1:26 )
    h$a # 1

    h$foo <- "bar"
    h[ "foo" ] 
    h[[ "foo" ]]

    clear(h)
    rm(h)


[Package hash version 0.23 Index]