Description Usage Arguments Examples
View source: R/py.R
Execute python script
1
py(script)
script
Python Script
1 2 3
library(Rython) py("import sys") py("def test_fun(src):\n print src\n return src\n") # define test_fun in python
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.