read_table.cached: Read text file where columns are separated by whitespace...

Description Usage Arguments Details See Also Examples

Description

Wrapper function to implement caching for read_table function from the readr package using RDS-files.

Usage

1

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 delimited data file.

Examples

1
read_table.cached("testdata.rds", "data/testdata.txt")

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