Learn R Programming

container (version 1.1.0)

Extending Base 'R' Lists

Description

Extends the functionality of base 'R' lists and provides specialized data structures 'deque', 'set', 'dict', and 'dict.table', the latter to extend the 'data.table' package.

Copy Link

Version

Install

install.packages('container')

Monthly Downloads

437

Version

1.1.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Roman Pahl

Last Published

November 11th, 2025

Functions in container (1.1.0)

ContainerS4

S4 methods for Container
Deque

Deque Class
Dict

Dict Class
DequeS3

Deque - Double-Ended Queue
DictS3

A Dictionary
Iterator

Iterator Class
OpsArithmetic

Arithmetic Operators
Container

Container Class
ContainerS3

Container - Enhancing R's list
Iterable

Iterable abstract class interface
addleft

Add Elements to the Left of Deques
OpsExtract

Extract Parts of a Container
OpsCompare

Comparison Operators
OrderedSet

OrderedSet Class
clone

Clone an Object
add

Add Elements to Containers
container_options

Set Container Package Options
dict.table

Combining Dict and data.table
discard

Discard Container Elements
delete

Delete Container Elements Safely
count

Count Elements
OpsReplace

Replace Parts of a Container
clear

Clear a Container
discard_at

Discard Elements at Indices
delete_at

Delete Elements at Indices Safely
Set

Set Class
OpsLogic

Logic Operators
deprecated

Deprecated Functions
at

Extract Elements Safely
SetS3

Set and ordered Set
peek_at

Peek at Indices
at2

Extract Single Elements Safely
peek_at2

Peek at Single Index
iterS3

Iterate over Sequences
rename

Rename Elements Safely
rotate

Rotate Elements
rev

Reverse Elements
pop

Get and Remove Element
has

Check for Element
has_name

Check for Name
is_empty

Check if Object is Empty
unpack

Unpack Nested Objects
peek

Peek at Left or Right of a Deque
update

Update Object with Elements from Another Object
replace_at

Replace Values at Indices Safely
replace

Replace Values in Containers Safely