prep_call_sampler not found in Stan program in Linux using R

三世轮回 提交于 2020-01-05 03:59:06

问题


I have a simple .stan program for multilevel model that was running fine in Windows. But I was getting this strange error in Linux when I was running it.

'prep_call_sampler not found'


回答1:


I tried to find the source of the problem, updated packages and looked up online for solutions. Finally, I saw a blog with a post describing a similar problem in the STAN forum

The solution was to simply replace the a*b with a * b in the .stan program and the model works fine in linux. Just thought of sharing this in case others face a similar problem when running stan program in linux using R.



来源:https://stackoverflow.com/questions/49419614/prep-call-sampler-not-found-in-stan-program-in-linux-using-r

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!