Plot wordcloud2 in shiny
来源:互联网 发布:最新全国省市区数据库 编辑:程序博客网 时间:2024/06/16 11:18
在使用shiny展示wordcloud2 的云词时,不能再使用传统的plotOutput和renderPlot函数了,应该使用对应的。
wordcloud2Output和renderWordcloud2函数,如下面介绍的:
Description
Function for plotting wordcloud2 in shiny
Usage
123456
wordcloud2Output(outputId, width = "100%", height = "400px")renderWordcloud2(expr, env = parent.frame(), quoted = FALSE)wordcloud2Output(outputId, width = "100%", height = "400px")renderWordcloud2(expr, env = parent.frame(), quoted = FALSE)
Arguments
outputId
output variable to read from
width, height
Must be a valid CSS unit (like "100%"
, "400px"
, "auto"
) or a number, which will be coerced to a string and have "px"
appended.
expr
An expression that generates a networkD3 graph
env
The environment in which to evaluate expr
.
quoted
Is expr
a quoted expression (with quote()
)? This is useful if you want to save an expression in a variable.
Details
Use renderWordcloud2 to render an wordcloud2 object and use wordcloud2Output output an wordcloud2 object. See more details in shiny package.
wordcloud2使用方法:http://blog.csdn.net/sinat_26917383/article/details/51620019
wordcloud2实例:
http://www.th7.cn/web/js/201606/172864.shtml
wordcloud2官方文档:
https://cran.r-project.org/web/packages/wordcloud2/wordcloud2.pdf
- Plot wordcloud2 in shiny
- Shiny PC Graphics in Battle Filed 3
- Install Shiny Server in Ubuntu 14.04.1
- Dashboards in R with Shiny and GoogleVis
- Install Shiny Server in Ubuntu 14.04.1
- Shiny Apps Gallery using Plotly in R
- plot
- plot figure in R and store it.
- Using Core Plot in an iPhone Application
- Stem-and-Leaf Plot in R
- JiebaR+wordcloud2词云
- R词云--wordcloud2
- Plot with Gnuplot——Gnuplot in Action前三章解读
- 【gloomyfish】Box zoom on Category Plot in JFreeChart
- how to invisible the plot image in matlab
- Error in plot.new() : figure margins too large
- wordcloud2的一个小问题
- Ubuntu 12.04 安装shiny 和 shiny-server
- JavaScript 你可能会忘记的基础知识 (1)基本类型
- 使用 MYSQLBINLOG 来恢复数据
- Statement 和 PreparedStatement总结
- BZOJ1647: [Usaco2007 Open]Fliptile 翻格子游戏 Dfs
- CSS心得
- Plot wordcloud2 in shiny
- HI3518EV200+AR0130+4G+服务器+PC+APP调试顺畅
- Volley请求模板
- Android记事本app
- [设计模式]组合模式
- 关于一个集合的子集的思考
- 本地电脑链接服务器的一些方法
- Android大图片裁剪终极解决方案
- mac下php7.0.9的编译安装及问题处理总结