store: Store objects in a collection and read them back.

Description Usage Arguments Value

Description

Store objects in a collection and read them back.

restore reads an object back from a collection.

Usage

1
2
3
4
5
6
7
8
9
## S3 method for class 'clist'
restore(col, .simplify = TRUE)

store(col, object, ..., id = id_of(object), .auto_tags = TRUE)

restore(col, ..., .simplify = TRUE)

## S3 method for class 'collection'
restore(col, ..., .simplify = TRUE)

Arguments

col

A collection.

.simplify

If only one object can be restored do not wrap it in a list.

object

Any object.

...

Named tags (store) or additional parameters (restore).

id

Object identifier in the collection.

.auto_tags

Generate and store standard tags.

Value

Object identifier.


lbartnik/collection documentation built on May 20, 2019, 8:27 p.m.