View source: R/create_output_folder.R
create_output_folder | R Documentation |
Create output folder
create_output_folder(data_name, results_dir = NULL)
data_name |
String. Will be used for the name of the created output folder. |
results_dir |
A string with the path to the directory where results
are to be stored or can be found. For example, if the data in question
is (to be) stored in |
Creates appropriate directory. Returns string with path for output object. By
default, if on Hábrók, folder will be $HOME/results/$data_name
. If
called from another environment, folder will be
getwd()/results/$data_name
. Alternatively, another valid root can be
specified, resulting in results_dir/$data_name
.
Pedro Santos Neves
## Not run:
create_output_folder(
data_name = "results_folder"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.