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.
It works! I used the configure.ac script to re-generate proper Makevars. The tricky point is that I had to manually add directives to object files and hide the config script, otherwise the Makevars file gets rewritten when rebuilding...
Solved! Apparently, declaration and definition of 'as' and 'wraps' were correct - that explains why it worked as expected in a sample implementation. The problem was likely related to the order in which <Rcpp.h> (and <RcppGSL.h>) were included (as...
Ok, I found the 'scrm' Rcpp package: here the file scrmr.cpp provides an interface for calling the scrm C++ application from R. following their solution, I modified my Makevars file, adding: OBJECTS.PnuChart = ngraph.o RcppExports.o OBJECTS.PnuChart...
Hello, I already read the discussion about the issue in object, but I can't find a way out! That problem came out all of a sudden, in a function that has always worked and has not been modified so...
Hello, I encountered this problem while working on my Rcpp package. I don't know if it can be related to Rcpp, but I post it here looking for some advices. I'll try to make myself as clear as...
Hi all, I have a C++ application I developed, with its headers (.hpp) and related .cpp files. Within this project I use a templated header-only library for efficient parallel computing using pthreads, as well as the GSL library. My...
Hi Dirk, thanks for your reply! On 05/05/2015 04:14 PM, Dirk Eddelbuettel wrote: > > On 5 May 2015 at 14:30, Fabio Tordini wrote: > | Everything compiles fine, but then it fails when loading the package: > | > | ** testing if installed...
Hello, while extending Rcpp with my C++ classes, I received hundreds of " 'wrap' is not a template function" and " 'as' is not a template function" errors when compiling. Beside this, I get an impressive list of errors referring to RcppGSL...
Hi Dirk, I actually supplied a definition, right after the class implementation, as I wrote before: // DECLARATION class SamData { // CLASS IMPLEMENTATION }; // WRAP / AS DEFINITION namespace Rcpp { template<> SEXP wrap(const SamData &s) { return Rcpp::List::create( Rcpp::Named("Chr1") = s...
Done already, without success. The whole Makevars file is as follows (I didnt paste it before): OBJECTS.PnuChart = ngraph.o RcppExports.o OBJECTS.PnuChart = PnuChart/Finder.o OBJECTS = $(OBJECTS.PnuChart) PKG_CPPFLAGS = -DPRINTLOG -I"../inst/include" -I. -pthread PKG_LIBS...
I tried to first explaining the scenario. Anyway, this seems to be the point: Step1: BuildGraph("POLR2A", fileSAM = "/space/datasets/ord_LiebermanAiden.sam") no matter what body and result of this function are, the 'fileSAM' string gets assigned to '.GlobalEnv...
Searching a little bit on the Internet I found a bug report on bugzilla related to the issue I have. From this comment https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14611#c3 on, Simon Urbanek clarifies that...
Can't find what you're looking for? Try searching with Google .