This function provides a Python REPL in the R session, which can be used to interactively run Python code. All code executed within the REPL is run within the Python main module, and any generated Python objects will persist in the Python session after the REPL is detached.
An (optional) Python module to be imported before the REPL is launched.
Boolean; print a startup banner when launching the REPL? If
When working with R and Python scripts interactively, one can activate
the Python REPL with
repl_python(), run Python code, and later run
to return to the R console.
py, for accessing objects created using the Python REPL.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.