Description Usage Arguments Functions
Attach Python objects to R.
1 2 3 | pyImport(name, env = parent.frame())
pyFunction(key, finalizer = "_")
|
name |
Name of the Python objemodule to import. |
env |
(Optional) environment to assign the Python objects to. |
key |
The Python function name. |
finalizer |
An additional operation to perform on the function output prior to returning to R. Use the character "_" as a placeholder for the Python output variable. |
pyImport
: Import Python module into R.
pyFunction
: import a Python function into R.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.