为什么在 RStudio 2022.02.0 版本中运行 glmmTMB() 时出现错误?
我正在尝试运行Poisson GLMM模型:
m <- glmmTMB(length ~ temp + site + temp:site, family = poisson, data = df)
但是我会收到一个错误消息:
.call中的错误(“ getParameterOrder”,数据,参数,new.env(),package = dll): 不正确的参数(3),期望为“ getParametroder”
重新安装“ glmmtbm”,重新启动rstudio,但保留了错误。 将更多变量纳入模型无济于事 - 错误消息持续存在。
RSTUDIO版本为2022.02.0,R版本为4.1.0。
谁能帮我我做错了什么?
谢谢。
i am trying to run a Poisson GLMM model:
m <- glmmTMB(length ~ temp + site + temp:site, family = poisson, data = df)
but i get an error message:
Error in .Call("getParameterOrder", data, parameters, new.env(), PACKAGE = DLL) :
Incorrect number of arguments (3), expecting 4 for 'getParameterOrder'
I reinstalled 'glmmTBM', restarted RStudio but the error retained.
Incorporating more variables into the model doesn't help - the error message persists.
The RStudio version is 2022.02.0 and the R version is 4.1.0.
Can anyone help me please what i am doing wrong?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了完全相同的问题,对 R 4.2.0 的简单更新确实解决了这个问题。
I had the exact same problem, and a simple update to R 4.2.0 did solve it.