View source: R/resource_projects.R
This is a target factory that will produce a target to track a file, and then to read that file using an arbitrary function provided by the user.
1 | load_external_file(sample_name, rootpath, filepath, func)
|
sample_name |
Name of the target |
rootpath |
Path to where resource files are kept |
filepath |
Relative path to file |
func |
Function to use to load file in R |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.