View source: R/additionalFunctions.R
fun_from_folder | R Documentation |
It executes the function fun
by first switching directories temporarily to the folder folder
and then returning to the working directory.
fun_from_folder(folder, fun, ...)
folder |
The folder of execution that the function is switched to before executing |
fun |
Function to be executed from the relative path |
... |
Options to be passed to |
The return value of fun(...)
list.files()
fun_from_folder(system.file("data", package = "TexExamRandomizer"), list.files)
list.files()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.