r - 如何增加 wordcloud R 中绘图区域的大小(边界,因为一些单词被剪切)
问题描述
我使用闪亮的仪表板和输出是在dashboardBody(框(输出
dashboardPage(skin = "blue",
dashboardHeader(title = "Word Cloud",titleWidth = 320),
dashboardSidebar(tags$style(HTML(".main-sidebar{width: 320px;}")),
sidebarMenu(
menuItem("Type",startExpanded = TRUE,
selectInput("selection", "Please, Choose Type:",
choices = books),
actionButton("update", "Change"),
hr()
),
menuItem("Frequency",startExpanded = TRUE,
sliderInput("freq",
"Please, choose Frequency:",
min = 100, max = 1000, value = 20,step=50)
),
menuItem("Number of Words",startExpanded = TRUE,
sliderInput("max",
"Please choose Number of Words:",
min = 10, max = 300, value = 70,step=10)
)
)
),
###My outPut
dashboardBody(
fluidRow(
box(width=12,height = 12,background="yellow",collapsible = TRUE,res = 300,
plotOutput("plot")
)
)
)
)[enter image description here][1]
[1]: https://i.stack.imgur.com/IogCV.jpg
dashboardBody(fluidRow(框(宽度=12,高度=12,背景=“黄色”,可折叠=真,res=300,plotOutput(“绘图”))
dashboardBody(fluidRow(框(宽度=12,高度=12,背景=“黄色”,可折叠=真,res=300,plotOutput(“绘图”))
如何增加 wordcloud R 中绘图区域的大小(边界,因为一些单词被剪切)
解决方案
推荐阅读
- azure - 从 azure cli 创建服务主体
- django - Django 服务器:python manage.py runserver - 未找到:/url/
- sql - 如何获取表中的所有列数据
- bar-chart - Vega:累积计数条形图
- liquibase - Liquibase 使用 .sql 文件将 mssql 转换为 postgresql
- vim - 从当前行删除到屏幕上可见的最后一行
- sql - SQL Server 查询以获取表中的列列表以及 SQL Server 中的数据类型、NOT NULL 和 PRIMARY KEY、外键约束
- c# - 如何在 C# 中创建复杂的 XML 结构
- r - R Shiny Highchart,点击更改线宽
- algorithm - 如何开发一个自定义遍历算法来遍历图深度优先和广度其次?