Questions tagged [shinydashboard]
shinydashboard is an R package which provides a framework for creating dashboards using R and shiny.
2,816
questions
0
votes
0
answers
20
views
How to get Sidebar inputs and body to interact using separate modules
New to the shiny world and trying to incorporate modules into my code. The problem I am having is that I want my sidebar to have a series of selectInputs and then have the plot output within the body--...
0
votes
0
answers
5
views
Issue with flex dashboard shiny apps
I am working on a portfolio for my class. I am using a flex dashboard, with shiny, to showcase two shiny visualizaitons and 4 plotly charts. The first shiny app's radio button code works for both of ...
0
votes
0
answers
21
views
How to use capture and use only the variables from the active tab in R Shiny?
How to use the same variable name across different tabs to store different values?
Here is a workable code.
require(shiny)
require(shinydashboard)
# Define the UI
ui <- dashboardPage(
# Title ...
0
votes
0
answers
23
views
Persistent storage data in MYSQL database through shinny app
I have created a shinny app where i can communicate with mysql database and store values through a reactive dataframe where users input values.
First I created a table in the mysql database with sql ...
0
votes
1
answer
17
views
Generate a shiny dashboard sidebarmenu that contains both static and dynamic tabs based on file input
I am reading in a csv file and then creating a shiny dashboard with some tabs on the sidebar where some are static and others will change based upon the input file. For example, a simplified version ...
0
votes
0
answers
29
views
Data table and plots not showing in shinyapp/shinydashboard [closed]
I'm new to using shiny and I'm trying to make a shinyapp with different pages. I want the module_uni page to have two tabs: table and plot. However, when I load the app, I see the filter panels looks ...
0
votes
0
answers
19
views
Using multiple tables for creating a single formattable table
I am new to Shiny and R, i am trying to create a table using Formattable. I have two tables, one which contains the values and other which contains the significance of those values. I would like to ...
1
vote
1
answer
31
views
Text not displayed correctly in R Shiny app (although no code error is shown but it's not doing what I write)
I am building a simple income-search tool where individuals can enter their job title, monthly wage, and city, and as an output they can learn how their wages compare to the median wage of other ...
0
votes
0
answers
24
views
Display navbarMenu across complete screen width in Shiny R
I would like to use shiny navbarpage with 4 navbarmenus. these should be displayed horizontally next to each other and be selectable. Only when the screen width across the entire screen is too small ...
0
votes
0
answers
32
views
Modify Header Height In Datatable in R For Shiny Dashboard
I am trying to tighten the height of the header of my datatable in R. I am referencing the header as part of the initComplete=JS() argument.
Below is the snippet of my code:
initComplete=JS("...
0
votes
3
answers
67
views
How do I achieve this grid and tab structure in R Shiny?
I have the following grid and tab structure in a Shiny app.
Desired result
What I want to get to is to have a different tabsetPanel for every Dataset that I choose in the left column.
So basically I ...
0
votes
0
answers
21
views
Why are the treeInput expanders disappearing?
This is reproducible:
Expand 'Filter'
Expand 'Solutions'
Expand 'Sectors'
Expand 'Solutions'
and now the carets that control the treeInput are gone. Is this a bug in shinyDashboard or treeInput or ...
0
votes
0
answers
33
views
How to see if a shiny dashboard box is collapsed if it is produced by renderUI?
I have a (varying) number of collapsible boxes in my R shiny app produced by renderUI/uiOutput and I would like to see whether they are collapsed or not from the server. There is a question and answer ...
0
votes
0
answers
24
views
Excessive whitespace between rows: Interaction between nested fluidRow and renderImage [duplicate]
I am new to Shiny and Shinydashboard for R and have run into a tricky issue. I am using nested fluidRow() and get excessive whitespace between rows if a column in the nested fluidRow includes an ...
1
vote
1
answer
65
views
RShiny rendered datatable without data
I am new to RShiny and have undertaken a tutorial to familiarise myself with RShiny by using the following link, https://dataviz.shef.ac.uk/blog/05/02/2021/Shiny-Template.
I have followed the script ...
1
vote
2
answers
119
views
I have nodes,edges, and weights. How can i draw the network from nodes,edges,weight info in R shiny
I have made the Network as following:
p <- 100 # Number of nodes (genes) in the network.
n <- 100 # Number of samples to generate.
network <- random_network(p) # Create a random network of ...
0
votes
1
answer
37
views
rhino modules for shiny app - my app does not work
I'm trying to learn the rhino modules to develop R shiny apps but got stuck with this simple app:
app/view/page1.R
box::use(
shiny[moduleServer, textOutput, renderText, NS, div],
shiny.fluent[...
0
votes
0
answers
19
views
R shiny app ggplot dynamic bar plot output error
I am learning shiny and want to plot a dynamic bar plot that renders the number/count of refugees per year for every country when a user selects a variable and the year. my data is a csv file with 4 ...
0
votes
0
answers
24
views
Loading an R shiny app but running into issues loading libraries
My shiny app utilizes the randomForestSRC library. It operates fine on my own PC and in my version of R, but I am trying to upload it to an online server space where I need to manually install my apps....
0
votes
1
answer
32
views
RShiny not loading due to input to json
I am probably going to kick myself when I find out what the reason is for the error but I can't work it out.
I am trying to make an RShiny plot on sales from May to September with the option to ...
0
votes
0
answers
27
views
Transferring Rows between Shiny Module tables
I am attempting to move rows between a source DataTable and DataTables contained within modules. I am having trouble filtering my original table outside the renderDataTable environment so that the ...
0
votes
1
answer
41
views
Reactive dashboard in R. Problem with the ggplot (won't show the data)
Task: I need to create a reactive dashboard by using ShinyApp with a given dataset. I need to create 3 inputs and at least 1 ggplot as a output.
Dataset: It has 14 columns (User.ID (shows user id), ...
0
votes
0
answers
19
views
Creating Nested tabBox in shinydashboard
I am trying to create a shinydashboard dashboard with 2 top level tabs, TabOne and TabTwo where the toplevel Tab TabOne has two nested tabs InnerOne and InnerTwo. I have attempted the code below, but ...
0
votes
0
answers
25
views
Setting rownames = FALSE in DT::renderDataTable() fails to render table in R Shiny app
I am building an R Shiny app that renders a datatable. By default, it is rendering a datatable with row names column, being a index of numbers from 1 to the number of rows in the data table. I want to ...
0
votes
0
answers
24
views
Shiny App error with valid N/A, App says columns not found. How can It be fixed
How do I get shinny app to stop producing an error due to the valid N/A in certain columns? The N/A are valid and I would like to display them as absent in my Shiny app, But I first need to get past ...
1
vote
1
answer
40
views
Leaflet map in bs4Dash's box
Recently, when working on a shiny dashboard, I encountered an issue of Leaflet map not working (seemingly) correctly with bs4Dash box. Seems that after the box is maximized, leaflet map is not ...
0
votes
0
answers
60
views
In R, can I filter a dataframe so that only rows that contain certain substrings are included?
Say I have a dashboard in R Shiny that allows users to filter on a table about dogs using a multiple-select "dogs filter" as defined in my ui section below
virtualSelectInput(
inputId =...
0
votes
0
answers
27
views
Make the image graph produced by the tool SeqNet Interactive
Currently I'm trying to make the image graph produced by the R tool SeqNet interactive, I have seen some examples with normal charts using other tools, is there a small example I could follow for ...
0
votes
1
answer
32
views
Shiny boxes resize height dynamically
I am displaying 3 shiny boxes as follows:
I have two filters countries. The headers of the boxes change based on both of the filters. Now the issue is when the header is split in two lines in the ...
0
votes
0
answers
30
views
Shinydashboard tabitem freezin
I tested a basic shinydashboard app, where input widgets placed in one tab, while result rendered in another tab. First run is fine, but after displaying result in second tab is not possible to switch ...
1
vote
1
answer
30
views
How to set a value in sidebarSearchForm widget
I am using sidebarSearchForm widget from shinnydashboard package.
I would like to know if it is possible set an initial value for shinnydashboard::sidebarSearchForm like it is with shinyWidgets::...
1
vote
3
answers
115
views
Is there a way to make my shiny app accept passing of arguments from users?
I have got R shiny app that I coded in R studio with separate ui.R, server.R, global.R, and a www folder with some pictures in it. What the app does is that it displays the images from a directory ...
0
votes
1
answer
22
views
Shinytree render gone if the panel is being collapsed by opening another panel
I am trying to build a shinydashboard for my workplace to create a searchable table to display who is good at doing what in our different branches.
I wanted to have two sidebar items, to filter the ...
1
vote
1
answer
60
views
Shiny & plotly: re-use a plot in a larger modal window & control font sizes
I faced a specific challenge and have come up with a solution. I am uncertain if this is an elegant solution though. Asking for improvements.
Challenge
I am developing a shiny app using shinydashboard ...
0
votes
0
answers
20
views
Change Tabs and Panels
I want to make something like the tabsetPanel menu inside the sidebarMenu, being able to use either to get to the different panels. I also want the different sidebarMenus to take you to the page the ...
0
votes
0
answers
27
views
How to add two highcharts in the same menuSubItem, but with text in between?
I am trying to add two highcharts graphs inside the same menuSubItem in shiny dashboard. But I don't want them to be side by side, but one on top of the other. However, I want to add some text between ...
0
votes
0
answers
10
views
add_prompter() message blocked by infobox
I am trying to add a hover message using add_prompt(), but the message is partially blocked by the boundary of the infoBox itself. Is there a way to put this prompt message at the top?
infoBox(
...
1
vote
0
answers
50
views
R shiny deal with missing input
I made a application with R Shiny and I would like to be able to set all combinations when input is missing without having to write IF... ELSE IF... for each combination.
For example, when the "...
0
votes
1
answer
28
views
How do I add sections side by side in a well panel?
I want to create a wellPanel to hold some inputs in a shiny app. The code below reproduces what I'm trying to do. However, I want Section 2 to be right next to Section 1 and not on the opposite side ...
0
votes
1
answer
38
views
Using shinyjs, insertUI() and removeUI() with Shiny modules
EDIT: I just needed to change the namespace of the insertUI selector!! Will leave up for others.
insertUI(
selector = paste0("#",ns(add)),
where = "afterEnd",
...
0
votes
1
answer
65
views
MenuItem doesn't always show the tree if there are multiple menuItems
I am trying to build a shinydashboard for my workplace to create a searchable table to display who is good at doing what in our different branches.
I wanted to have two sidebar items, to filter the ...
0
votes
0
answers
31
views
Can't get downloadablePlot shiny module from periscope working
I am trying to use the downloadablePlot module from periscope in a Shiny app. Reprex:
library(shiny)
library(periscope)
ui <- fluidPage(
plotOutput("plot"),
downloadablePlotUI("...
0
votes
1
answer
55
views
Layout of sidebar tabs and skin for bs4dash/shinydashboard
I am working on the UI of a Shiny app ... and it looks super ugly. I am running into three problems:
I am trying to use skin = 'light' in certain parts to experiment with the colours (starting off ...
0
votes
0
answers
45
views
Dynamic tabs and data display in shiny app
I am trying to dynamically creating tabs in tab panel based on the number of rows. The drop down to select the number of records per page will determine how many records to show. Say there are 20 ...
0
votes
2
answers
28
views
Read different excel dataframes depending on selectInput Shiny
I have a shiny app that I would wish to pass data frames from different Excel files depending on the choice from a selectInput. I tried to use observeEvent and if...else statements as shown in the ...
1
vote
1
answer
23
views
How to navigate between different tabItems in shinydashboard through buttons
I have made a shiny app (in shinydashboard) with many menu and submenu items. Like the following tree structure
sidebarMenu(
menuItem("Item 1", tabName = "item1", icon =...
0
votes
1
answer
35
views
How to change the text colour in shiny dashboard header containing and embedded image?
I have used the below code to embed an image in the header of my shiny dashboard. With my code, the text colour of the title changes, and I would like to revert this back to white. How can I modify my ...
0
votes
1
answer
62
views
How to add a "Select all" option in Shiny
I am creating a questionnaire using shiny and shinydashboard. Using checkboxGroupInput(). I would like to have a select all option. I have seen other people have had similar issues, but I haven´t ...
1
vote
0
answers
40
views
Shiny: no plot is shown [closed]
I want to make a simple shiny app in R for displaying a plot with values of electric vehicles (dataset from kaggle). I wanted to make it reactive, so I can choose which parameter I'd like to see in ...
1
vote
1
answer
33
views
Put some shiny code in another file and import it in server.R ou ui.R
I would like to know how to import code in the server.R part. I have a button.R file with an observeEvent. When I import it into the server.R file with the source() function, I get an error when I run ...