I am getting this error. Any suggestions to fix this *** caught segfault ***?

*** caught segfault ***
address 0x6, cause 'memory not mapped'

1: adaptIntegrate(f, lowerLimit = c(0, 0), upperLimit = c(Inf, Inf))
2: mlogl(parameter, G)
3: fn(par, ...)
4: (function (par) fn(par, ...))(c(2.4565444712109, 4.35486392713201, 2.68167413499423, 3.99358777739855, 0.427859342210118))
5: optim(c(alpha.start, alpha_0.start, v1.start, v2.start, rho.start), logsum, R = R, method = "L-BFGS-B", lower = c(eps, eps, eps, eps, eps - 1), upper = c(Inf, Inf, Inf, Inf, 1 - eps))
6: mle(W, p_r)
An irrecoverable exception occurred. R is aborting now ...
/var/spool/slurmd/job8915586/slurm_script: line 14: 24219 Segmentation fault Rscript Program/part1.R

Could you provide a little of context? Ideally, could you ask this with a minimal REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.