Hi:
I'm trying to call a R function (that compares strings) in Rcpp and return
the result to make the comparisons run faster. Am a noob with Rcpp; so
please bear. The input to the R function is a matrix of 2 columns.
The error is: *Error in getGoing(product) : Not compatible with STRSXP:
Thanks James for the quick reply.
Here you go:
[image: Inline image 1]
On Thu, Jul 27, 2017 at 9:14 AM, Balamuta, James Joseph <
balam...@illinois.edu> wrote:
> Greetings and Salutations Sharat,
>
>
>
> Could you supply some test data?
>
>
>
> Sincerely,
>
Thanks Serguei for clearing up the data structures. I did test the function
in R but when I was printing out the results, rather than returning a
vector; sorry about that. Will be much more careful.
On Thu, Jul 27, 2017 at 9:47 AM, Serguei Sokol <serguei.so...@gmail.com>
wrote:
>
Also, after your comments, it just hit me why not write the entire code in
pure C++? Would that be worthwhile?
On Thu, Jul 27, 2017 at 10:59 AM, Sharat <schmoo...@gmail.com> wrote:
> Thanks Serguei for clearing up the data structures. I did test the
> function in R but when I was