【问题标题】:R installed the recharts error [duplicate]R安装recharts错误[重复]
【发布时间】:2017-04-06 05:12:42
【问题描述】:
> install_github("madlogos/recharts")

Downloading GitHub repo madlogos/recharts@master
from URL https://api.github.com/repos/madlogos/recharts/zipball/master
Installing recharts
"D:/PROGRA~1/R/R-33~1.3/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD  \
  INSTALL  \
  "C:/Users/Administrator/AppData/Local/Temp/RtmpAlSrMx/devtools26ec72ed478f/madlogos-recharts-ef72a0a"  \
  --library="D:/Program Files/R/R-3.3.3/library" --install-tests 

* installing *source* package 'recharts' ...
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : 
  there is no package called 'ggthemes'
ERROR: lazy loading failed for package 'recharts'
* removing 'D:/Program Files/R/R-3.3.3/library/recharts'
* restoring previous 'D:/Program Files/R/R-3.3.3/library/recharts'
Error: Command failed (1)

如何解决问题?我安装了recharts,但它没有echartr 功能,只有echart 功能。

如何解决?

【问题讨论】:

    标签: r


    【解决方案1】:

    安装依赖于ggthemes,如错误消息所述。安装该软件包,以及出现在类似错误消息中的任何其他软件包。

    【讨论】:

    • 谢谢。安装 ggthemes 后,recharts 就可以了!
    猜你喜欢
    • 2015-10-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-02-24
    • 2021-04-04
    • 2011-12-22
    • 2017-10-31
    • 1970-01-01
    相关资源
    最近更新 更多