Description Usage Arguments Details Value Functions
Interact with Python variables.
1 2 3 4 5 |
objName |
The Python object to print. |
... |
Names of one or more Python variables to get/set. |
This is basically the same as pyExecp
but prints to the
console using print
instead of cat
.
A character string.
The return value (for one variable) or a named list of values (for multiple variables) returned from Python.
pyPrint
: Print a Python object to the R console.
pyGet
: Retrieve variables from Python. Only applicable
to objects that can be serialized to JSON. Otherwise, use pyPrint
.
pySet
: Set variables in Python. Only applicable to
objects that can be serialized to JSON. Otherwise, use pyExec
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.