Sample R package with Python implementation.
install.packages(devtools)
library(devtools)
install_github('pprzetacznik/pythonTestPackage')
library(pythonTestPackage)
sumx(1,2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.