Learn R Programming

D4TAlink.light (version 2.1.18)

initTaskRscript: Create task R script.

Description

Create task R script.

Usage

initTaskRscript(task, overwrite = FALSE, encoding = "unknown", suffix = NA)

Value

the file name invisibly.

Arguments

task

Object of class D4TAlinkTask, as created by initTask.

overwrite

overwrite R file if exists, default FALSE

encoding

encoding to be assumed for input strings. It is used to mark character strings as known to be in Latin-1, UTF-8 or to be bytes: it is not used to re-encode the input. To do the latter, specify the encoding as part of the connection con or via options(encoding=): see the examples and ‘Details’.

suffix

Filename suffix, used to develop scripts for sub-analyses for a given task, default NA.