安装recharts程序包时一直不成功,yihui的安装脚本install.packages(
'recharts',
repos = c(
'http://yihui.name/xran',
'http://cran.rstudio.com')
)
报错界面如下
ERROR: dependencies 'htmltools', 'htmlwidgets', 'magrittr' are not available for package 'recharts'
* removing 'D:/用户目录/我的文档/R/win-library/3.3/recharts'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-33~1.2/bin/x64/R" CMD INSTALL -l "D:\用户目录\我的文档\R\win-library\3.3" C:\Users\ADMINI~1\AppData\Local\Temp\RtmpGQUPAQ/downloaded_packages/recharts_0.0.4.tar.gz' had status 1
Warning in install.packages :
installation of package ‘recharts’ had non-zero exit status
taiyun的安装脚本
library(devtools)
require(devtools)
devtools::install_github('taiyun/recharts')
报错界面如下:
ERROR: dependencies 'htmltools', 'htmlwidgets', 'magrittr' are not available for package 'recharts'
* removing 'D:/用户目录/我的文档/R/win-library/3.3/recharts'
Installation failed: Command failed (1)
求救各位大神指导!