From j|nghu@zh@o @end|ng |rom hotm@||@com  Tue Nov 10 11:39:28 2020
From: j|nghu@zh@o @end|ng |rom hotm@||@com (jing hua zhao)
Date: Tue, 10 Nov 2020 10:39:28 +0000
Subject: [Rd] Help on mapping memory
Message-ID: <DB8P189MB07163CE1FEDC5888FE959606A5E90@DB8P189MB0716.EURP189.PROD.OUTLOOK.COM>

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]]



[Rd] Help on mapping memory
jing hua zhao