Use of the libics library from R. See: https://github.com/svi-opensource/libics
Use: Copy the dll from libicsR\x64\Release and the R wrapper code from libicsR\R\libicsR.R to a new folder for use from R.
Compile: Use VS 2017 to build the C code into a dll for x64.