Hello All,
Thank-you all for your responses it was very helpful. I have one last
question. I was planning on branching a new version of my package to allow the
use of rcpp.
My question is, Can I just set up my package to be rcpp ready (for lack of a
better term) without testing C++ code i
On 22 December 2016 at 14:15, Duncan Murdoch wrote:
| On 22/12/2016 1:55 PM, Glenn Schultz wrote:
| > All,
| > My package was not initially built with the rcpp use in mind. I have to
include C++ source code for a particular project so I will have edit the
description file add src files, etc. b
A mistake that I have made repeatedly is forgetting to add an
appropriate UseDynLib() call to the NAMESPACE file.
On 16-12-22 02:15 PM, Duncan Murdoch wrote:
> On 22/12/2016 1:55 PM, Glenn Schultz wrote:
>> All,
>> My package was not initially built with the rcpp use in mind. I have
>> to inclu
On 22/12/2016 1:55 PM, Glenn Schultz wrote:
All,
My package was not initially built with the rcpp use in mind. I have to
include C++ source code for a particular project so I will have edit the
description file add src files, etc. by hand. I an going over the rcpp
documentation now and revi
All,
My package was not initially built with the rcpp use in mind. I have to
include C++ source code for a particular project so I will have edit the
description file add src files, etc. by hand. I an going over the rcpp
documentation now and reviewing the R documentation on extensions as we
Problem solved:
1. I installed the fftw library dlls from http://www.fftw.org/
2. I told the package where to find this library in the makevars.win file.
Regards,
Rampal
On 22-Dec-16 11:28, Rampal Etienne wrote:
> When trying to build a package with RStudio (newest R-devel and Rtools
> insta
When trying to build a package with RStudio (newest R-devel and Rtools
installed, and all packages updated), I get the following error.
C:/Rtools/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe:
cannot find -lfftw3 collect2.exe: error: ld returned 1 ex