Questions tagged [shinydashboard]

shinydashboard is an R package which provides a framework for creating dashboards using R and shiny.

shinydashboard is an R package which builds on top of the shiny package in order to facilitate the creation of interactive dashboards.

Repositories

Stable Version on Cran

2792 questions
0
votes
1 answer

Make the column width dynamic in a shiny app

In the shiny app below Im trying to set the column width based on the shiny widget but I get column width must be between 1 and 12 ## app.R ## library(shiny) library(shinydashboard) library(shinyWidgets) library(DT) ui <- dashboardPage( …
firmo23
  • 7,490
  • 2
  • 38
  • 114
0
votes
0 answers

select a box and deselect the other box also change colours of boxes using radio buttons in R shiny

I have two boxes, and I would like to select one of the boxes, I would need to select one box and the other should be deselected. Here is what I am trying. I do not understand why its not changing colors and update the radiobuttons. The boxes are…
sveer
  • 427
  • 3
  • 16
0
votes
0 answers

plotly + shiny error: geom_col requires the following missing aesthetics: [32mx[39m and [32my[39m

I'm new to Shiny/shinydahsboard and am working on a project to get better at it. I keep running into an issue with plotly and goem_bar or geom_col plots. I get the error that the aesthetic is missing even though it's included in ggplot(). I was also…
0
votes
1 answer

Why I do not get my data under the Load Data Panel?

I am having two tabs in the navigation bar (I am trying to keep it simple, I have more, but won't matter). Now, I get my info tab the way I want it. But when I upload the module for load data, I cannot get it under 'Load Data' tab but rather under…
GaB
  • 1,076
  • 2
  • 16
  • 29
0
votes
1 answer

navbarPage Column layout issue when using bslib::bs_theme(version = 4) or 5

I am having trouble getting boxes to align in fluidRow column format when using bslib and theme bootstrap 4 and 5 with navbarPage. It works with version 3. I can't figure out how to make the version 5 (or 4) to return the right layout. Only one…
0
votes
1 answer

updateSelectInput is overwritten by a selectInput in a shiny app

In the example below the action button would update the select input values. However, the second selection input is dependent on the first one and when the action button is selected the update to "virginica" does not occur. ui <- fluidPage( …
0
votes
1 answer

Creating a R Shiny App to display Sankey taking input on Nodes and Links from users

I am trying to create a R Shiny App that takes input from users on the Links and Nodes as .csv files and generates a Sankey based on that input. The input files are uploading and displaying as expected but the Sankey is not generating. If I run the…
0
votes
0 answers

graphics::locator() function cannot be used inside shiny?

It seems like the graphics::locator() function can not be used inside a shiny app, anyone knows why it behaviors like that? The output of the function is displayed at the normal plot tab in RStudio, it does not show inside your app.
0
votes
0 answers

How to use plotly on bar chart in R Shiny App

I have a bar chart that I want to make interactive in my R Shiny app using plotly. When it is rendered as a plot, everything is fine using ggplot: #Bar plots ggplot(data = df_continents) + geom_bar(aes(x=country, y=coal_co2), stat="identity",…
0
votes
1 answer

How to handle exception in R like in Java?

I am writing a server program in R where I upload PDF files and which later extracts data from the tables inside the pdf. If required table and data is there, it works fine. But if not, it gives me error for files[i][[1]][[3]] and…
Thinker
  • 6,820
  • 9
  • 27
  • 54
0
votes
1 answer

Is there an easier/tidier/better way of creating multiple, relative dynamic user selection drop downs?

I'm building a shiny dashboard and I would like to have the choices available to the user reflect the choices the user has already made. Something like: First selector: Option A or Option B Second selector: if Option A: Choice A, Choice B, Choice…
Nate P
  • 21
  • 6
0
votes
0 answers

R shiny :Can not plot multiple lines on a linegraph based on user checkbox selection

I am using checkboxGroupInput for data filtering and am using ggplot to plot line graph. The plot shows up if one out of three options is selected, however if two or three checkboxes are selected it gives an error "Aesthetics must be either length 1…
akang
  • 566
  • 2
  • 15
0
votes
0 answers

Passing and updating data between modules in R shiny

I have an R shiny app using golem to generate a report on NGS data. I currently have a working app that reads in data (some excel files and a pdf) and shows the graphs and tables relating to that input. I would like to have the app start with a drop…
shaberman
  • 1
  • 1
0
votes
1 answer

R-shiny:Plot not rendered in shiny but works fine in r-script

I am creating a time series plot based on user input. The application runs without any issue but the plot is not generated. However the same code generates a plot in regular r-script. I cant see the reason why shiny plot will not render. Test…
akang
  • 566
  • 2
  • 15
0
votes
0 answers

How to calculate the area of a polygon inside shiny?

I have the following function that creates a shiny app which allows the user to draw a polygon in any image, the path can be changed to any folder in your computer. The default is set to use the example images in a package called ClickMetrics, i…
1 2 3
99
100