Save and load Python objects.
py_save_object(object, filename, pickle = "pickle", ...) py_load_object(filename, pickle = "pickle", ..., convert = TRUE)
A Python object.
The output file name. Note that the file extension
is considered the "standard" extension for serialized Python objects
as created by the
The "pickle" implementation to use. Defaults to
but other compatible Python "pickle" implementations (e.g.
could be used as well.
Bool. Whether the loaded pickle object should be converted to an R object.
Python objects are serialized using the
pickle module -- see
https://docs.python.org/3/library/pickle.html for more details.