Writing Cross-Language Tools
This repo contains slides and code examples for a SciPy 2016 talk in which
we implement a function that computes the sum of an array (tally).
cd tally_py && python setup.py developimport numpy as np
from tally_py import tally
a = np.array([1., 2., 3.])
tally(a)
# 6Using devtools:
cd tally_r && Rscript -e "devtools::install()"library(tallyR)
tally(c(1, 2, 3))
# [1] 6