I have found a .hpp file called fn_kron.hpp, and I have learned that sourceCpp() can be used to call c++ file to R. But when I wrote in this way, it returned the filename must be '.cpp', so how could I use sourceCpp to call this package?
Thanks for your help. :)
_______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel