Re: [Rcpp-devel] Ranges and Casting

2021-01-16 Thread Francisco Bischoff
Yes, it helps a lot. This confirms that I've been doing the right workarounds in my code. I thought there was a better way of doing it :-) Best regards! PS: today I've learned how to strip debug info using Makevars, thanks @Dirk Eddelbuettel :) -- Francisco Bischoff, MD, MSc Faculty of Medici

Re: [Rcpp-devel] Ranges and Casting

2021-01-16 Thread Balamuta, James Joseph
Francisco, Based on the opening post, I’d probably push you more toward Armadillo as Dirk was in the previous message. Using linspace<>(), may be a drop-in replacement for seq() with the appropriate helper functions. Long ago (~4+ years now) I wrote a few, see: https://github.com/coatless/r-to