我正在尝试安装一个名为“ReporteRs”的包,但它给了我这样的错误:“install.packages 中的警告:包 'ReporteRs' 不可用(对于 R 版本 3.4.4)”
我的 R 版本是 3.4.4。 这是我的安装代码;
cran_dir_url <- "https://cran.r-project.org/src/contrib/Archive/ReporteRs/ReporteRs_0.8.9.tar.gz"
install.packages("ReporteRs", contriburl=cran_dir_url,
repos = cran_dir_url,
type = 'source',
INSTALL_opts = "--no-multiarch")
最佳答案
该软件包已作为 officer
重新启动(参见 https://github.com/davidgohel/ReporteRs )。所以通过以下方式安装:
install.packages("officer")
或通过
开发版本devtools::install_github("davidgohel/officer")
关于r - “记者”不可用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52929952/