I have just merged the R/qtl branch into the release_candidate branch. It contains the first complex typemaps for matrix and array types and a few CMake updates. Pj.