Learn R Programming

D4TAlink.light (version 2.1.18)

readBinary: Restore R object from binary file.

Description

Restore R object from binary file.

Usage

readBinary(
  task,
  type,
  subdir = NULL,
  dirCreate = FALSE,
  ask = FALSE,
  quiet = FALSE,
  password = NULL
)

Value

Object stored in binary file, or NULL if file does not exist.

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]

subdir

(optional) Subdirectory.

dirCreate

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

ask

query encryption key from user, default FALSE.

quiet

issue warning if file does not exists.

password

encryption password, default NULL