Main directory
- Create the training course directory
## Prepare the path
TD_dir <- paste0("/shared/projects/", project_name, "/SC_TD")
## Create the root directory
dir.create(path = TD_dir, recursive = TRUE)
## Print the root directory on-screen
print(TD_dir)
[1] "/shared/projects/ebaii_sc_teachers/SC_TD"
Current session
## Create the session (Preproc.1) directory
session_dir <- paste0(TD_dir, "/01_Preproc.1")
dir.create(path = session_dir, recursive = TRUE)
## Print the session directory on-screen
print(session_dir)
[1] "/shared/projects/ebaii_sc_teachers/SC_TD/01_Preproc.1"
Output results
directory
## Create the OUTPUT data directory
output_dir <- paste0(session_dir, "/RESULTS")
dir.create(path = output_dir, recursive = TRUE)
## Print the output directory on-screen
print(output_dir)
[1] "/shared/projects/ebaii_sc_teachers/SC_TD/01_Preproc.1/RESULTS"
Note : Actually, for this session we
won’t export any result, so creating this
RESULTS
folder was just for
practice.
Now, the we have everything needed to :