Learn R Programming

⚠️There's a newer version (3.0.1) of this package.Take me there.

hash (version 1.10.0)

Implements hash/associated arrays/dictionaries

Description

This package implements a data structure similar to hashes in Perl and dictionaries in Python but with a purposefully R flavor.

Copy Link

Version

Install

install.packages('hash')

Monthly Downloads

9,598

Version

1.10.0

License

LGPL (>= 2)

Maintainer

Christopher Brown

Last Published

November 30th, 2009

Functions in hash (1.10.0)

make.keys

creates/coerces objects to proper hash keys
keys

Returns key(s) from a hash
hash-class

Class "hash"
Format hash object for pretty printing

Methods for Function format in Package 'hash'
has.key

Test for existence of key(s) on a hash
hash-accessors

Accessor methods for the hash class.
hash

hash/associative array/dictionary data structure for the R language
del

Remove key-value pair(s) from a hash
clear

Removes all key-value pairs from a hash
.get

Get values from a hash
invert

Create an inverted hash.
.set

assign key-value pair(s) to a hash
hash-package

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

Extract values of a hash object.
length

Returns the number of items in a hash