reticulate (version 1.15)

py_save_object: Save and load Python objects with pickle

Description

Save and load Python objects with pickle

Usage

py_save_object(object, filename, pickle = "pickle", ...)

py_load_object(filename, pickle = "pickle", ...)

Arguments

object

Object to save

filename

File name

pickle

The implementation of pickle to use (defaults to "pickle" but could e.g. also be "cPickle")

...

Optional arguments to be passed to the load() function defined by the associated pickle module.