[Bioc-devel] Confusing namespace issue with IRanges 1.99.17

2014-07-07 Thread Leonardo Collado Torres
Hello BioC-devel list, I am currently confused on a namespace issue which I haven't been able to solve. To reproduce this, I made the simplest example I thought of. Step 1: make some toy data and save it on your desktop library(IRanges) DF - DataFrame(x = Rle(0, 10), y = Rle(1, 10)) save(DF,

Re: [Rd] a question about optim.R and optim.c in R

2014-07-07 Thread Sarah Goslee
Hi, On Mon, Jul 7, 2014 at 4:34 PM, Zhiyuan Dong zhiyuan.d...@gmail.com wrote: Hi, I am learning R by reading R source code. That's very brave of you. You might also try reading some of the documentation and contributed documentation, like: http://adv-r.had.co.nz/C-interface.html and

Re: [Rd] a question about optim.R and optim.c in R

2014-07-07 Thread Michael Weylandt
On Jul 7, 2014, at 4:34 PM, Zhiyuan Dong zhiyuan.d...@gmail.com wrote: Hi, I am learning R by reading R source code. Here is one question I have about the optim function in R. The context : In the optim.R, after all the prep steps, the main function call call is made via :