Dear everyone, I have maintained JL Schafer's package 'pan' for a while and recently been contacted for the possibility to fix a crash but it turned to be elusive -- I am wondering what is the best to resolve this. First, the error message is as follows, *** caught segfault *** address 0x1b0000001b3, cause 'memory not mapped' Traceback: 1: pan(test$Y1, test$ID, X, 1:4, 4, prior, seed = m, iter = 100) An irrecoverable exception occurred. R is aborting now ... and I gather this is to do with R/fortran mismatch nevertheless the tricky thing is that it works fine with the documentation data and even with this data there were times it could be tweaked to work (therefore PAN.txt, test.rda and test.log were as intended there). I have extracted the pan.f, pan.R from the package and leave the Bash/R scripts all here, https://github.com/jinghuazhao/R/tree/master/tests, short of adding a driver program to pan.f and debug without R but before doing that any idea/insight would be greatly appreciated. Thank you so much, Jing Hua Zhao [[alternative HTML version deleted]]