> On Jul 7, 2014, at 4:34 PM, Zhiyuan Dong 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 :
>
> .External2(C_optim, par,
Hi,
On Mon, Jul 7, 2014 at 4:34 PM, Zhiyuan Dong 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
http://cran.r-project.org/doc/m
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 :
.External2(C_optim, par, fn1, gr1, method, con, lower, upper).
So, it seems to me, to follow
I can reproduce this. It is a bug in reference BLAS.
With the R 3.1.0 release, Fedora changed from using the internal BLAS
that comes with R to using external BLAS. But reference BLAS does not
handle missing values correctly. I expect this has been true since at
least 2010, when Brian patched the