You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

modelsummary::msummary()配合fixest::feols在Mac上的R2缺失及显示异常求助

问题:Mac系统下fixest::feols模型使用modelsummary::msummary()的异常情况

我之前遇到modelsummary::msummary()无法生成fixest::feols模型R2的问题,按相关讨论的方法在Windows系统上解决了,但换到Mac系统后出现新状况:

  • 运行以下GitHub包安装代码后,调用msummary()时如果带output = "file name"参数,RStudio的Viewer标签页不会显示结果;虽然能生成Word文件,但文件里依然没有R2
  • 如果移除msummary()中的output = "file name"参数,Viewer能显示结果,但还是没有R2

恳请各位提供解决思路,谢谢。

library(remotes)
install_github("lrberge/fixest")
install_github("easystats/performance")
install_github("vincentarelbundock/modelsummary")

内容的提问来源于stack exchange,提问作者Anup

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.19 01:01:11