Closed zoey-rw closed 4 years ago
Thanks Zoey! If we use the system
command to make directories, will there be compatibility issues between Windows and Linux-based systems? Are there downsides to using the dir.create
function in R?
Finished, in the most recent commit.
The code to create a directory structure, in the server setup script, could be simplified by wrapping into a function and using
system()
calls.mkdir -p
will create a directory if it does not exist, but will not overwrite or throw errors if there is already an existing directory. Below is an example of how I have used this before (not updated for the specific server setup of this pipeline).The
twee()
function prints a directory tree to illustrate file structures, for example: