Compiled for R version 3.1.2