正在运行
install.packages("ggplot2", repos = "https://cloud.r-project.org")
install.packages("plotROC", repos = "https://cloud.r-project.org")
library(plotROC)
plotROC::geom_roc()在我的mac电脑上
> plotROC::geom_roc()
Error: GeomRoc was built with an incompatible version of ggproto.
Please reinstall the package that provides this extension.我见过其他一些与"ggproto“相关的帖子,但是这些建议对我都没有用,我也有点不知道我到底尝试了什么。
plotROC一定是“提供这个ggproto扩展的包”吗?如果是这样的话,除了重新安装之外,我还能尝试什么呢?如果没有,我如何识别需要更新的包?
发布于 2017-07-28 06:25:41
谷歌搜索显示,安装开发版本可能会有所帮助:
devtools::install_github("hadley/ggplot2")
devtools::install_github("sachsmc/plotROC")https://stackoverflow.com/questions/45353620
复制相似问题