Comments (8)
你确定是加载过recharts么?
library(recharts)
from recharts.
@Lchiffon 肯定加载了~~~,是不是我没安装Echarts的原因~~~,菜鸟求教~~~
> library(recharts)
Warning message:
程辑包‘recharts’是用R版本3.2.2 来建造的
> mapData <- data.frame(province=c("上海", "江苏", "广东", "黑龙江"), val1=c(100, 200, 300, 500), val2=c(200,300,400,200), val3=c(1,2,3,5), stringsAsFactors=F)
> eMap(mapData, namevar=~province, datavar = ~val1+val2)
Error: could not find function "eMap"
from recharts.
贴下安装recharts的代码和sessionInfo()的结果吧
from recharts.
使用教程中的安装方法提示不成功,我是把zip包下载下来,通过Tools工具安装的~~~
‘devtools::install_github('taiyun/recharts')
Downloading GitHub repo taiyun/recharts@master
from URL https://api.github.com/repos/taiyun/recharts/zipball/master
Installing recharts
"C:/PROGRA~1/R/bin/x64/R" --no-site-file
--no-environ --no-save --no-restore --quiet CMD
INSTALL
"C:/Users/tcs/AppData/Local/Temp/RtmpYhFkZu/devtools13c03a7e6c4e/taiyun-recharts-6a16a4c"
--library="C:/Users/tcs/Documents/R/win-library/3.2"
--install-tests
Error: Command failed (127)’
from recharts.
sessionInfo()
R version 3.2.0 (2015-04-16)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
locale:
[1] LC_COLLATE=Chinese (Simplified)_People's Republic of China.936
[2] LC_CTYPE=Chinese (Simplified)_People's Republic of China.936
[3] LC_MONETARY=Chinese (Simplified)_People's Republic of China.936
[4] LC_NUMERIC=C
[5] LC_TIME=Chinese (Simplified)_People's Republic of China.936
attached base packages:
[1] stats graphics grDevices utils
[5] datasets methods base
loaded via a namespace (and not attached):
[1] tools_3.2.0
from recharts.
这几个命令也无法运行成功 :
install_github('ramnathv/htmlwidgets')
install_github('rstudio/htmltools')
install_github('taiyun/recharts@htmlwidgets')
install_github('ramnathv/htmlwidgets')
Downloading GitHub repo ramnathv/htmlwidgets@master
from URL https://api.github.com/repos/ramnathv/htmlwidgets/zipball/master
Installing htmlwidgets
"C:/PROGRA~1/R/bin/x64/R" --no-site-file
--no-environ --no-save --no-restore --quiet CMD
INSTALL
"C:/Users/tcs/AppData/Local/Temp/Rtmps1lkPb/devtools1fb440263806/ramnathv-htmlwidgets-3ce9f90"
--library="C:/Users/tcs/Documents/R/win-library/3.2"
--install-tests
Error: Command failed (127)
from recharts.
试试把R升级到3.3.2再用devtools::install_github('taiyun/recharts')
安装吧
这个安装目前没有太大的问题反而install_github('taiyun/recharts@htmlwidgets')是一个已经弃用很久的东东了
from recharts.
昨天电脑崩溃,重装,正好安装3.3.2版本的R, 问题解决~~
from recharts.
Related Issues (20)
- Error: could not find function "echartsExample" HOT 5
- eForce 无法画图 HOT 1
- eBar的stackGroup参数无法实现效果 HOT 2
- customize color and shape
- 另一个 R 包实现 HOT 4
- 将示例代码保存在文件中,使用Rscript执行,无法显示地图 HOT 7
- Echarts4.0.0 HOT 1
- 和flexdashboard结合有问题
- 能与之前同名的recharts共存? HOT 1
- 怎么能把对象直接保存成html呢 HOT 1
- shiny 里面地图不显示
- eBar如何设置X轴和Y轴的标题, 以及opt 参数
- Open list option for title like the API
- 如何使用svg渲染生成图形 HOT 2
- 画地图时如何移除地图上的点
- Rstudio为啥不出图?
- Could not find function "eHLine" HOT 1
- Documentation in english
- dataRange无法设置离散映射
- 如何添加events事件?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recharts.