Re: [Bioc-devel] fail to build a package after updating Bioconductor packages

2016-01-27 Thread Ge Tan
The error message explains the reason. Just install pandoc and pandoc-citeproc. Ge On 27/01/2016, 14:20, "Bioc-devel on behalf of Yu Sun" wrote: >Hi, > >I am very new in developing bioconductor packages, and had an annoying >problem yesterday afternoon. I wrote a package named sscu and it u

Re: [Bioc-devel] IntAE buffers needs to be freed or not??

2013-07-23 Thread Ge Tan
or not?? > > Hi Ge, > > On 07/22/2013 02:59 AM, Ge Tan wrote: >> Hi Hervé, >> >> Thank you very much! >> So how about Calloc? Does it run much slower than the direct malloc() too? > > Calloc() is just a wrapper to calloc() so it's also user-controlled

Re: [Bioc-devel] IntAE buffers needs to be freed or not??

2013-07-22 Thread Ge Tan
y point with .Call2 (defined in the > IRanges package), which will take care of doing that for you. I highly > recommend you do that if you use the IntAE buffers in your C code or > if you call C functions that use the IntAE buffers (and a lot of C > functions in IRanges and Biostrings

[Bioc-devel] IntAE buffers needs to be freed or not??

2013-07-19 Thread Ge Tan
Hi all, I am using the IntAE buffers (taken from IRanges packages) in my .Call() code. Sample code in C: IntAE width_buf; width_buf = new_IntAE(0, 0, 0); for(…){     IntAE_insert_at(&width_buf, IntAE_get_nelt(&width_buf), width); } PROTECT(width = new_INTEGER_from_IntAE(&width_buf)); UNPROTECT(1)