[Rd] Rcpp - Linking to DLL from another package?

2017-12-18 Thread Stravs, Michael
Hi, I am trying to make a package B that extends another package A. Package A uses Rcpp, and I want to extend a class X used there. So package A has src/X.h and inst/include/X.h class X { ... } src/X.cpp X::X( arguments ) { ... } My package B wants to do this: DESCRIPTION [...] LinkingTo: Rc

[Rd] Background session with R

2017-07-10 Thread Stravs, Michael
Hi, I am working on some code to have a background R process running that I can submit data to, check computation progress, and retrieve results later. I am aware that "parallel" does a lot of that - however, "parallel" shuts down the nodes when I quit the master process. On the contrary, I wou

[Rd] Function name exported incorrectly in DLL, strange entries in tmp.def

2016-02-29 Thread Stravs, Michael
Hi, I originally posted this on the Rcpp github tracker, but it was suggested I post it here. I tried to compile the package https://github.com/khabbazian/sparseAHC/ under Windows. The package requires C++11 so I had to install the R devel build with gcc 4.9.3, and the latest Rtools. I got co