getTaskFilepath {D4TAlink.light}R Documentation

Get the path of a file.

Description

Get the path of a file.

Usage

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

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.

Value

Full path to file.


[Package D4TAlink.light version 2.1.14 Index]