*** caught segfault ***
address 0x6, cause 'memory not mapped'
Traceback:
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 REPR oducible EX ample (reprex) ? A reprex makes it much easier for others to understand your issue and figure out how to help.
Why reprex?
Getting unstuck is hard. Your first step here is usually to create a reprex, or reproducible example. The goal of a reprex is to package your code, and information about your problem so that others can run it and feel your pain. Then, hopefully, folks can more easily provide a solution.
What's in a Reproducible Example?
Parts of a reproducible example:
background information - Describe what you are trying to do. What have you already done?
complete set up - include any library() calls and data to reproduce your issue.
data for a reprex: Here's a discussion on setting up data for a reprex
make it run - include the minimal code required to reproduce your error on the data…
system
Closed
July 24, 2019, 11:55pm
3
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.