R is a scripting language popular for data analysis, statistics, and graphics. Gramex now provides an interface for users to run R commands and R scripts and allows you take advantage of R functions, libraries, packages, and even saved models.
import gramex.ml
total = gramex.ml.r('sum(c(1,2,3))') # Add up numbers and return the result
gramex.ml.r(path='sieve.R') # Loads relative to the Python file
Gramex also converts Pandas, Numpy objects automatically into R vectors, and vice versa.
Gramex now has a CaptureHandler tutorial that explains how to setup CaptureHandler, Schedule a CaptureHandler service and lists down supported arguments
Apart from documenting how to setup minimal nginx reverse proxy for Gramex apps, Gramex guide also documents how to setup Apache reverse proxy.
To upgrade Gramex, run:
pip install --verbose gramex==1.37
This downloads Chromium and other front-end dependencies. That may take time.