Learn R Programming

D4TAlink.light (version 2.1.18)

getTaskFilepath: Get the path of a file.

Description

Get the path of a file.

Usage

getTaskFilepath(task, type, ext, dirtype, subdir = NULL, dirCreate = TRUE)

Value

Full path to file.

Arguments

task

Object of class D4TAlinkTask, as created by initTask.

type

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]

ext

Filename extension.

dirtype

task directory where file is stored, i.e., 'documentation', 'code', 'data', 'data source' or 'binary data'.

subdir

(optional) Subdirectory.

dirCreate

Logical, if TRUE (by default) the directory is created.