yread_tsv | R Documentation |
read file with caching
yread_tsv(
file,
reader = utils::read.delim,
params = list(),
cache_dir = tempdir()
)
yread(file, reader = readLines, params = list(), cache_dir = NULL)
file |
a file or url |
reader |
a function to read the 'file_url' |
params |
a list of parameters that passed to the 'reader' |
cache_dir |
a folder to store cache files. If set to NULL will disable cache. |
This function read a file (local or url) and cache the content.
the output of using the 'reader' to read the 'file_url' with parameters specified by the 'params'
Yonghe Xia and Guangchuang Yu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.