Tools to run GMPL files from R
First install the package devtools from CRAN and then run
library(devtools);
install_github("skranz/rgmpl")
To run AMPL files via the NEOS Server, you also need to run
install.packages("XMLRPC", repos = "http://www.omegahat.org/R", type = "source") install.packages("rneos")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.