[Rd] R optim(method="L-BFGS-B"): unexpected behavior when working with parent environments

Serguei Sokol @oko| @end|ng |rom |n@@-tou|ou@e@|r
Mon May 6 18:37:37 CEST 2019


On 06/05/2019 18:21, Thomas Petzoldt wrote:
> It seems that it's an old bug that was found in some other packages, 
> but at that time not optim:
>
> https://bugs.r-project.org/bugzilla/show_bug.cgi?id=15958
I think that the bug description is a little bit misleading. The bug is 
not in fact that "<<-" produce a reference instead of a copy (that's 
normal) but in fact that some C or Fortran code modifies a variable "in 
place" without taking care if there are some references on it or not.

Serguei (just splitting hairs)



More information about the R-devel mailing list