py_save_object | R Documentation |
Save and load Python objects.
py_save_object(object, filename, pickle = "pickle", ...)
py_load_object(filename, pickle = "pickle", ..., convert = TRUE)
object |
A Python object. |
filename |
The output file name. Note that the file extension |
pickle |
The "pickle" implementation to use. Defaults to |
... |
Optional arguments, to be passed to the |
convert |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.