Re: [Rcpp-devel] Shared code in C++ files

2016-04-14 Thread Martin Lysy
Hi All, I am very grateful for your input/recommendations. Let me try to wrap my head around how to do this with a single package and get your approval on an MWE. Best regards, Martin Lysy Assistant Professor of Statistics Department of Statistics and Actuarial Science University of Waterloo

Re: [Rcpp-devel] Shared code in C++ files

2016-04-14 Thread Martin Lysy
nswer my query. Best regards, Martin Martin Lysy Assistant Professor of Statistics Department of Statistics and Actuarial Science University of Waterloo On Thu, Apr 14, 2016 at 5:36 AM, JJ Allaire wrote: > Happily it was an easy fix! > > > https://github.com/Rcp

Re: [Rcpp-devel] Shared code in C++ files

2016-04-13 Thread Martin Lysy
nimal amount of C++ code (e.g., a log-likelihood function) to hook in with a large amount of code provided by the developer in order to speed things up considerably. So in my opinion it would be worthwhile to devise a mechanism to do this correctly. Best regards, Martin Lysy Assistant Profe

[Rcpp-devel] Shared code in C++ files

2016-04-13 Thread Martin Lysy
Neither of the last two commands works for me on Windows. Attached below is the output of the failed commands for Windows and Linux (first command for former, second command for latter). Can you please indicate what is wrong with the steps