Create task R script.
initTaskRscript(task, overwrite = FALSE, encoding = "unknown", suffix = NA)
the file name invisibly.
Object of class D4TAlinkTask
, as created by initTask
.
overwrite R file if exists, default FALSE
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’.
Filename suffix, used to develop scripts for sub-analyses for a given task, default NA.