Displaying 3 results from an estimated 3 matches for "print_level".
2018 Oct 05
2
Seg fault stats::runmed
...), rep(1, 74))
xx = runmed(dd1, 21)
-> R crashes reproducibly in R 3.4.3, R3.4.4 (Ubuntu 14.04/Ubuntu 16.04)
With GDB:
Program received signal SIGSEGV, Segmentation fault.
swap (l=53, r=86, window=window at entry=0xc59308,
outlist=outlist at entry=0x12ea2e8, nrlist=nrlist at entry=0x114fdd8,
print_level=print_level at entry=0) at Trunmed.c:64
64??? ??? outlist[nr/* = nrlist[l] */] = l;
Valgrind also reports access to unallocated memory and/or writing past
the end of the heap.
The crash does not happen if the order is changed:
dd2 = c(rep(-1, 144), rep(1, 74), rep(NaN,82))
xx = runmed(dd2,21)...
2018 Oct 05
0
Seg fault stats::runmed
...d propertly.
Martin
--
Martin Maechler
ETH Zurich and R Core Team
> With GDB:
> Program received signal SIGSEGV, Segmentation fault.
> swap (l=53, r=86, window=window at entry=0xc59308,
> outlist=outlist at entry=0x12ea2e8, nrlist=nrlist at entry=0x114fdd8,
> print_level=print_level at entry=0) at Trunmed.c:64
> 64??? ??? outlist[nr/* = nrlist[l] */] = l;
> Valgrind also reports access to unallocated memory and/or writing past
> the end of the heap.
> The crash does not happen if the order is changed:
> dd2 = c(rep(-1, 144), r...
2013 Jan 03
0
help with NLOPTR
...quot;algorithm" = "NLOPT_LN_AUGLAG", "xtol_rel"=0.01) ## some
algorithms in nloptr require a local algorithm too
opts=list("algorithm" = "NLOPT_GN_ISRES", "xtol_rel" = 0.01,
"maxeval"=100000 ,"local_opts" = local_opts, "print_level"=2)
nloptr(x0=x0, eval_f = eval_f, lb=lb, ub=ub, eval_g_eq = eval_g_eq,
opts=opts)
--
Alicia Ellis
Postdoc
Gund Institute for Ecological Economics
University of Vermont
617 Main Street
Burlington, VT 05405
(802) 656-1046
http://www.uvm.edu/~aellis5/
<http://entomology.ucdavis.edu/facu...