Description Usage Arguments Value Examples
View source: R/om_get_all_files.R
Goes to the specified directory and finds all the _lab.rep files. Loads them one by one into an R list of objects. This ensures that the reading in stage (which can take 3-10 minutes) need only be done once, and then subsequent function calls looping through an entire grid will run in a few seconds instead of minutes. Required the following files: something ending in "_lab.rep", assuming that the naming convention in the file has sections of outputs separated by $name comments so that it can be easily parsed by readList() function of Jon Schnute.
1 | get_all_files(directory)
|
directory |
the directory that the _lab.rep files are in |
a list of objects
1 | data.example.sqrt <- get_all_files(directory = "arc/c1s1l1sqrt/")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.