rtapeAsList: Load the whole tape as a list.

Description Usage Arguments Details Value Author(s) Examples

Description

Load the whole tape as a list.

Usage

1
rtapeAsList(fNames)

Arguments

fNames

Name of the tape file to read; if this argument is a vector of several names, function behaves as reading a single tape made of all those tapes joined in a given order.

Details

This function reads are the objects from the tape, in the order they were written on it, and returns them as a list.

Value

A list containing all the objects stored on the tape.

Author(s)

Miron B. Kursa M.Kursa@icm.edu.pl

Examples

1
2
3
4
5
6
7
8
unlink('tmp.tape')
#Record something on the tape
rtapeAdd('tmp.tape',iris)
rtapeAdd('tmp.tape',sin(1:10))
#Read whole tape to the list, so we could examine it
rtapeAsList('tmp.tape')->stored
print(stored)
unlink('tmp.tape')

rtape documentation built on May 2, 2019, 9:18 a.m.

Related to rtapeAsList in rtape...