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

Jaime Ashander jashander at ucdavis.edu
Thu May 21 03:00:15 CEST 2015


Hmm. Thr gist looks like it might provide a MWE?




Anyway, if it looks like a possible bug you could file it at the bugreports link from description: https://github.com/RcppCore/Rcpp/issues




- Jaime

On Wed, May 20, 2015 at 5:51 PM, Hao Ye <hye at ucsd.edu> wrote:

> 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
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20150520/9da8eccf/attachment.html>


More information about the Rcpp-devel mailing list