我很难让我的情节图适合它的flexdashboard容器。底部被切掉了。
考虑以下reprex:
---
title: "Plotly Flexdashboard Conflict"
output:
flexdashboard::flex_dashboard:
source_code: embed
---
Column
---
### In this tab, the plot is pushed out of bonds by the selectize items.
```{r}
库(Tidyverse)
库(绘图)
库(Gapminder)
库(
我正试着在我的闪亮的应用程序中制作一个交互式的图。我认为使用plotly::plotlyOutput和plotly::renderPlotly会很简单,但我一直在使用Error: argument 1 is not a vector。我想知道你是否能帮上忙?
library(shiny)
library(tidyverse)
library(plotly)
daysSince10 <- read_csv("https://raw.githubusercontent.com/joegoodman94/CoronavirusTracker/master/days.csv")
我已经创建了一个闪亮的应用程序,其中包含了一些。在RStudio中预览时,所有功能都很好。不过,当我将应用程序部署到闪亮的服务器(在前提下)并打开应用程序时,就不会显示这些情节了。当查看浏览器中的开发人员控制台(Chrome或Safari)时,我看到以下错误Can't find variable: Plotly,它指向plotly.js的第141行,即以下代码中的var plot = Plotly.plot(graphDiv, x):
//if no plot exists yet, create one with a particular configuration
if