Closed coreanachina closed 6 years ago
你是怎么装这个包的?有很多包都叫recharts。
从“Code”那里下载的recharts-master.zip,然后在rstudio里点packages,install from 选择package Archive File安装。
你从github下载的是源代码,没有经过R CMD build编译,根本不是package archive file。仔细阅读文档,先装devtools
包,然后install_github('madlogos/recharts')
。
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-34~1.1/bin/x64/R" --no-site-file --no-environ --no-save --no-restore \ --quiet CMD INSTALL \ "C:/Users/user/AppData/Local/Temp/RtmpAR4Bv1/devtools22fc5ce15eef/madlogos-recharts-39cc88c" \ --library="D:/Users/user/Documents/R/win-library/3.4" --install-tests