Closed drbombe closed 7 years ago
As we include all of Boost Numeric the odeint library should be included. Let me know if you find something missing.
Dirk - Thank you so much for your reply! I got it!
A separate question on sourceCpp. How can I share the compiled DLL file? Here is my motivation. I have a simple c++ function but we don't want to broadly share the source codes. Our colleagues all use Windows 7. So can we directly share the compiled DLL file?
Here is what I did but it seems doesn't work.
Step 1: I have the source file, test3.cpp and it can be run on my local machine. Step 2: I run Rcpp::sourceCpp('test3.cpp', verbose = TRUE,rebuild=TRUE) and find the DLL file, say sourceCpp_3113.dll. Step 3: Share this DLL with my colleagues.
They can load it with ldyn.load("sourceCpp_3113.dll") but it can't be run as .Call("sourceCpp_3113",15)
Error in .Call("sourceCpp_3113", 15) : C symbol name "sourceCpp_3113" not in load table
I know that we can develop it as a package. Is there any simple way to just use this DLL file?
Haoda
On Sun, Jan 1, 2017 at 3:27 AM, Dirk Eddelbuettel notifications@github.com wrote:
As we include all of Boost Numeric the odeint library should be included. Let me know if you find something missing.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/eddelbuettel/bh/issues/36#issuecomment-269895639, or mute the thread https://github.com/notifications/unsubscribe-auth/ARRzfnaTpDtC5w14Vs7BzqwO_aUBdisjks5rN2NwgaJpZM4LYp1o .
-- Haoda Fu, Ph.D.
Principal Research Scientist
Statistics Group Leader,
Lilly Diabetes Medical Affairs, Global Patient Outcomes & Real World Evidence
Biometrics and Advanced Analytics, Eli Lilly and Company
Adjunct Assistant Professor of Biostatistics, Department of Biostatistics,
Indiana University School of Medicine
Phone(BlackBerry): 317-755-7938
You build a package.
But this is not the place for those questions. Package building and Rcpp and widely documented.
Dear Dirk -
Thank you for providing this great package bh to allow us efficiently using boost in Rcpp. It seems that BH only includes some of the libraries.
Are we going to include odeint which is under boost/numeric/odeint to solve differential equations.
We are working on drug developments, and use lots of differential equations to model the dynamic process. It will be GREAT that odeint can be included in the future version.
PS: Odeint is a header only C++ library. If this can be included, I would be more than happy to contribute an example for your review. Best, Haoda Fu