| py_print | R Documentation |
Wraps a Python call with reticulate::py_capture_output() and
displays the result with cat(). Useful in R Jupyter notebooks
where Python print() output is not displayed automatically.
py_print(expr)
expr |
A Python expression to evaluate |
Note: Python logging output (e.g. from run_documentation_tests)
is not captured due to reticulate limitations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.