[Rcpp-devel] Bizarre Rcpp::XPtr problem on GCC

Hao Ye hye at ucsd.edu
Thu May 21 02:50:37 CEST 2015


Kevin, 

I think Dirk is looking for a MWE (minimal working example).

Best,
--
Hao Ye
hye at ucsd.edu

> On May 20, 2015, at 5:35 PM, Kevin Thornton <krthornt at uci.edu> wrote:
> 
> Dirk,
> 
> What are you asking for?  I provided a working source file + the Rscripts I used to identify the problem + ample comments about how I arrived at it.  I’m not sure how this qualifies as “random snippets."
> 
> —Kevin
> 
>> On May 20, 2015, at 5:20 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
>> 
>> 
>> On 20 May 2015 at 15:22, Kevin Thornton wrote:
>> | Hi,
>> | 
>> | I’m currently working on a header-only library that it intended to act as a
>> | “glue" layer between an existing C++11 library (also header only) and R, by
>> | means of Rcpp.
>> | 
>> | Basically, I am trying to provide some generic templates that perform
>> | operations using the existing C++11 library and return appropriate data objects
>> | to the R environment.
>> | 
>> | My current plan for this library is that:
>> | 
>> | 1. It is also c++11
>> | 2. It exists in its own namespace
>> | 
>> | Rcpp seems to have problems with the latter, but only on GCC.
>> 
>> I think I we do have a few counterexamples to that claim.
>> 
>> That said, it of course entirely possible that have found a bug, but I don;t
>> currently have time to follow links to random gists with random snippets of
>> code.
>> 
>> If there is a genuine bug we may get to a proper bug report in due course.
>> Or so one hopes.
>> 
>> Dirk
>> 
>> -- 
>> http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
> 
> _______________________________________________
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel



More information about the Rcpp-devel mailing list