saveBinary {D4TAlink.light}R Documentation

Save R object in binary file.

Description

Save R object in binary file.

Usage

saveBinary(
  object,
  task,
  type,
  subdir = NULL,
  dirCreate = TRUE,
  encrypt = FALSE,
  ask = FALSE
)

Arguments

object

R object to serialize.

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.

encrypt

encrypt the output, default: FALSE. If character string, then use the string as password.

ask

query encryption key from user, default FALSE.

Value

the file name invisibly.


[Package D4TAlink.light version 2.1.14 Index]