pyFunction | R Documentation |
The function pyFunction creates a new object of type pyFunction based on a given key.
pyFunction(key, regFinalizer = FALSE)
key |
a string specifying the name of a Python method/function. |
regFinalizer |
a logical indicating if a finalizer should be be registered, the default value is FALSE. |
The function pyFunction makes it easy to create interfaces to Python functions.
if ( pyIsConnected() ){
pySum <- pyFunction("sum")
pySum(1:3)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.