readPickle: Restore R data.frame from a Python pickle file.

View source: R/pythonio.R

readPickleR Documentation

Restore R data.frame from a Python pickle file.

Description

Restore R data.frame from a Python pickle file.

Usage

readPickle(task, type, subdir = NULL, dirCreate = FALSE, quiet = FALSE)

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.

quiet

issue warning if file does not exists.

Value

Object stored in Apache Arrow feather file, or NULL if file does not exist.


D4TAlink.light documentation built on April 4, 2025, 1:02 a.m.