Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

19 results for “from:Kevin Thornton”

[Rcpp-devel] Template instantiation of commonly-used types
Kevin Thornton · Oct 15, 2014 · rcpp-devel

I should clarify: those git gist are the "git clone" links. Here are the direct links for viewing: The .h: https://gist.github.com/molpopgen/5180d60689fa8d6cb353 The .cpp: https://gist.github.com/molpopgen/c13135659e0b27421a3a ___________________________ Kevin Thornton Associate Professor Ecology and...

[Rcpp-devel] assert() for Rcpp?
Kevin Thornton · Feb 18, 2015 · rcpp-devel

Thanks--this helps. I have a project based on Rcpp and another header-only library where this could have been an issue. > On Feb 18, 2015, at 10:53 AM, Dirk Eddelbuettel <edd at debian.org> wrote: > > > On 18 February...

[Rcpp-devel] Template instantiation of commonly-used types
Kevin Thornton · Oct 15, 2014 · rcpp-devel

On Oct 15, 2014, at 11:01 AM, Dirk Eddelbuettel <edd at debian.org> wrote: > > On 15 October 2014 at 10:28, Kevin Thornton wrote: > | I should clarify: those git gist are the "git clone" links. Here are the direct...

[Rcpp-devel] Template instantiation of commonly-used types
Kevin Thornton · Oct 15, 2014 · rcpp-devel

It looks like this is beyond me at the moment, and would require the attention of someone who knows the code base. Even including Rcpp.h in the .cpp file returns errors, which I find rather puzzling. On Oct 15...

[Rcpp-devel] assert() for Rcpp?
Kevin Thornton · Feb 18, 2015 · rcpp-devel

Hi Dirk, Sorry, but your response is unclear to me. What was "taken care of"? What is 'tinyformat'? Are you trying to say that this method of defining assert will work with any other C++ library that includes <cassert>? --Kevin...

[Rcpp-devel] Bizarre Rcpp::XPtr problem on GCC
Kevin Thornton · May 20, 2015 · rcpp-devel

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...

[Rcpp-devel] advice on sharing C++ code across R and Python
Kevin Thornton · Apr 27, 2018 · rcpp-devel

Hi all, pybind11 is the best choice here. It goes quite a bit beyond what Boost Python did, including nice support for Numpy arrays, the buffer protocol more generally, and an Eigen interface. I've used it quite a bit...

[Rcpp-devel] Problem with IntegerVector::value_type in recent Rcpp
Kevin Thornton · Mar 30, 2015 · rcpp-devel

Hi, I've come across an issue when compiling some code with Rcpp >= 0.11.4 (using R 3.1.3 with either gcc or clang on Linux, or clang on OS X). The code that reproduces the issue is...

[Rcpp-devel] correct way of making custom as and wrap functions available to other packages
Kevin Thornton · Jul 17, 2015 · rcpp-devel

A good guess is that the as/wrap definitions in wrappers.h are the culprit (https://github.com/dahtah/imager/blob/master/inst/include/wrappers.h <https://github.com/dahtah/imager/blob/master/inst/include/wrappers.h>). Try declaring them...

[Rcpp-devel] Template instantiation of commonly-used types
Kevin Thornton · Oct 15, 2014 · rcpp-devel

In looking through the Rcpp/0.11.3 code, I came across this file: inst/include/Rcpp/vector/instantiation.h The file contains the declarations for IntegerVector, NumericVector, etc. It seems reasonable to assume that these types will be used...

[Rcpp-devel] assert() for Rcpp?
Kevin Thornton · Feb 18, 2015 · rcpp-devel

Hi Dirk, Thanks. I did check the recent Rcpp announcement, which corresponds to my installed version, and mentions nothing re: assert (https://www.mail-archive.com/rcpp-devel at lists.r-forge.r-project.org/msg07977.html). --Kevin > On Feb...

[Rcpp-devel] Template instantiation of commonly-used types
Kevin Thornton · Oct 15, 2014 · rcpp-devel

On Oct 15, 2014, at 11:14 AM, Kevin Ushey <kevinushey at gmail.com> wrote: > If we were to have these vectors as part of the shared object rather > than header-only, wouldn't this imply breakage for existing packages...

[Rcpp-devel] fatal error: 'omp.h' file not found
Kevin Thornton · Mar 14, 2016 · rcpp-devel

You should (read: I've not tested this myself...) be able to assign clang-omp and clang-omp++ to CC and CXX, respectively, in your ~/.R/Makevars file. On Mon, Mar 14, 2016 at 9:31 AM Balamuta, James Joseph...

[Rcpp-devel] fatal error: 'omp.h' file not found
Kevin Thornton · Mar 14, 2016 · rcpp-devel

One may also use clang-omp from Homebrew if you wish to still use clang on OS X, but have OpenMP. --Kevin On Mon, Mar 14, 2016 at 9:31 AM Balamuta, James Joseph < balamut2 at illinois.edu> wrote: > Greetings...

[Rcpp-devel] assert() for Rcpp?
Kevin Thornton · Feb 18, 2015 · rcpp-devel

Isn't there a potential issue if a package depends on multiple header-only C++ libraries, each of which may include <cassert>? You'd have multiple definitions of the macro floating around, and the compiler will barf. --Kevi > On Feb...

[Rcpp-devel] Problem with IntegerVector::value_type in recent Rcpp
Kevin Thornton · Mar 31, 2015 · rcpp-devel

Thanks for the explanation, Romain. As a follow-up, is there a reason why value_type is defined in terms of a reference? In the mean time, I'll use remove_reference. -Kevin > On Mar 31, 2015, at 1:04...

[Rcpp-devel] Bizarre Rcpp::XPtr problem on GCC
Kevin Thornton · May 20, 2015 · rcpp-devel

I claim that I?ve provided it, so I?m assuming that the delivery (gist) is the problem. So, here?s a copy/paste for you. Without the custom deleter, this fails to link using GCC 4.7/4.8...

[Rcpp-devel] Bizarre Rcpp::XPtr problem on GCC
Kevin Thornton · May 21, 2015 · rcpp-devel

Dirk, OK, I?ll try again. I?ll respond out of order: c) There are no run instructions. This issue (as stated in all of my posts on this issue) is that GCC will not load the .so from the...

[Rcpp-devel] Bizarre Rcpp::XPtr problem on GCC
Kevin Thornton · May 20, 2015 · rcpp-devel

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...

Can't find what you're looking for? Try searching with Google .