Learn R Programming

D4TAlink.light (version 2.1.18)

catReport: Output R object using function cat.

Description

Output R object using function cat.

Usage

catReport(
  x,
  task,
  type,
  ext = "txt",
  subdir = NULL,
  dirCreate = TRUE,
  sep = "\n",
  eof = "\n",
  ...
)

Value

the file name invisibly.

Arguments

x

R object to output.

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.

subdir

(optional) Subdirectory.

dirCreate

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

sep

separator

eof

EOF

...

R objects (see ‘Details’ for the types of objects allowed).