Description Usage Arguments Details See Also Examples
Wrapper functions to implement caching for read_delim
-based functions from the readr
package using RDS-files.
1 2 3 4 5 6 7 | read_delim.cached(rds, file, ...)
read_csv.cached(rds, file, ...)
read_csv2.cached(rds, file, ...)
read_tsv.cached(rds, file, ...)
|
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. |
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.
do.call.cached
which is the wrapper function that performs the caching.
read_delim
which is called to read the delimited data file.
1 | read_csv.cached("testdata.rds", "data/testdata.csv")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.