Description Usage Arguments Details Value Examples
Call a callable Python object from within R.
1 2 |
callableObj |
a character string giving the name of the desired callable Python object. |
args |
an optional list of arguments passed to the callable. |
kwargs |
an optional list of named arguments passed to the callable. |
autoTypecast |
an optional logical value, default is TRUE, specifying if the return values should be automatically typecasted if possible. |
simplify |
an optional logical value, if TRUE, R converts Python lists into R vectors whenever possible, else it translates Python lists always to R lists. |
The args and kwargs are transformed to Python variables by the default conversion. More information about the type conversion can be found in the vignette.
Returns the result of the function call, converted into an R object.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.