Skip to content
Back to formatted view

Raw Message

Message-ID: <6a50efa4.8fef.159b77e75e5.Coremail.zkokia@163.com>
Date: 2017-01-19T16:10:35Z
From: Kokia Z
Subject: [Rcpp-devel] How to use sourceCpp() to call a file with '.hpp'

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. :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20170120/72360836/attachment.html>