Re: [Rcpp-devel] Another 'Error: not compatible with requested type'

2015-08-07 Thread Fabio Tordini
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' for subsequent reuse: assign("fi

Re: [Rcpp-devel] Another 'Error: not compatible with requested type'

2015-08-07 Thread Dirk Eddelbuettel
On 7 August 2015 at 13:40, Fabio Tordini wrote: | Hello, | I already read the discussion about the issue in object, but I can't | find a way out! We can't either. You supplied a screenful of email but __no reproducible code__ exhibiting an error we can reproduce. Nobody can help you based on w

[Rcpp-devel] Another 'Error: not compatible with requested type'

2015-08-07 Thread Fabio Tordini
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 far. I describe the problem here. if more code might help, I'll provide it. I have an R funct