简体   繁体   English

在 R 4.0.2 安装 zeligverse

[英]Installing zeligverse in R 4.0.2

I'm trying to use plot.ci function in the zelig library but apparently Zelig is not supported with R 4.0.2.我正在尝试在 zelig 库中使用 plot.ci function,但显然 R 4.0.2 不支持 Zelig。 I'm trying to see if there is a work around to access these functions or if I just can't use this library until they make the appropriate updates.我正在尝试查看是否有解决方法来访问这些功能,或者在他们进行适当的更新之前我是否无法使用该库。 Please help.请帮忙。

Ethan伊桑

Error message below:错误信息如下:

> install.packages('zeligverse')

WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/ethan/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
Warning in install.packages :
  package ‘zeligverse’ is not available (for R version 4.0.2)

It looks like this package has been removed from CRAN's repository, meaning you can't install it like this anymore - you have to install it manually.看起来这个 package 已经从 CRAN 的存储库中删除,这意味着你不能再像这样安装它 - 你必须手动安装它。 This is explained on their website, and has download links for manual installation that have been archived: https://cran.r-project.org/web/packages/zeligverse/index.html这在他们的网站上有解释,并具有已存档的手动安装下载链接: https://cran.r-project.org/web/packages/zeligverse/index.html

You will also have to install the following dependencies (packages it requires) to install it correctly: 'Amelia', 'MatchIt', 'WhatIf', 'Zelig', 'ZeligChoice', 'ZeligEI'您还必须安装以下依赖项(它需要的包)才能正确安装:'Amelia'、'MatchIt'、'WhatIf'、'Zelig'、'ZeligChoice'、'ZeligEI'

The Zelig package that is currently available appears to support the function you mentioned.当前可用的 Zelig package 似乎支持您提到的 function。 You can install it with:你可以安装它:

install.packages("Zelig")

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM