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.
Dear all, I am trying to write an Rcpp function that accepts optionally a vector, but I cannot figure out what default value I should give to it. First I tried the following: // [[Rcpp::export]] int nilVec(NumericVector v = R...
Dear all, I had some problems figuring out how to write some code for iterating through the values of a run-length-encoded factor (Rle). Now I kind of made it work, but I am not sure that the codes...
Thanks a lot, it works! I thought I tried to return the variable a directly without template specialization but apparently I didn't T.T However I tried this: IntegerVector x = wrap(a); and it still didn't work... I...
Thanks a lot for your help, I'll look at the references. I saw Section 6.1.2 already. Does that mean that I should replace all the calls to malloc() and to free() with those to Calloc() and Free...
Hi all, once again I have a bug and no idea what I am doing wrong. I started to handle optional arguments directly at the C++ level, so that I don't have to write a wrapper function in R...
Dear all, thank you again for this fantastic library. Sorry for the very stupid question, I looked before posting, but I couldn't find anything. I am encountering a problem when I try to do something very basic: I am...
Thanks a lot, I misunderstood the document http://cran.r-project.org/web/packages/Rcpp/vignettes/Rcpp-extending.pdf . But there is still a problem when I try to use these classes definitions in a package. If these classes are...
My bad, I forgot to call the compileAttributes function... T.T Everything works fine!!! Yes, I don't need object code. "tweak the Makevars", I meant in package P, because now the files are not in src/ anymore, but I...
I found out what the problem was, luckily it was just a stupid bug in my code (an array index out of bounds). I still didn't quite get how memory allocation works. As far as I understood there are...
Can't find what you're looking for? Try searching with Google .