read.table.cached: Data Input (Cached)

Description Usage Arguments Details See Also Examples

Description

Wrapper functions to implement caching for read.table-based functions using RDS-files.

Usage

1
2
3
4
5
6
7
8
9

Arguments

rds

The name of the file in which the cache is to be stored.

file

The name of the file which the data are to be read from.

...

Additional arguments to be passed to the base function.

Details

If the rds file exists, the object will be loaded from the rds. Otherwise the file will be read and an rds of the resulting object will be saved.

See Also

do.call.cached which is the wrapper function that performs the caching.

read.table which is called to read the data file.

Examples

1
read.csv.cached("testdata.rds", "data/testdata.csv")

erikjandevries/r.dstools.ej documentation built on May 24, 2019, 4:02 a.m.