Get the path of a file.
getTaskFilepath(task, type, ext, dirtype, subdir = NULL, dirCreate = TRUE)
Full path to file.
Object of class D4TAlinkTask
, as created by initTask
.
Filename type. If the type is an array, the cocatenation of the elements is used with separator"-". Filenames have the form [task name]_[type].[ext]
Filename extension.
task directory where file is stored, i.e., 'documentation', 'code', 'data', 'data source' or 'binary data'.
(optional) Subdirectory.
Logical, if TRUE (by default) the directory is created.