Questions tagged [shinydashboard]

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

0
votes
1answer
10 views

How to RenderTable output to tabPanel in NavBar page + Rshiny app

I am building a dashboard page where the user uploads a file and on clicking the actionbutton it should run the server code and show the output and also allow to download the output as file. Below is ...
0
votes
1answer
15 views

Shiny button within nested module not showing up; namespace issue?

I'm trying to scaffold together a basic dashboard using the shinymaterial package (https://ericrayanderson.github.io/shinymaterial/) but having a slight issue where my dropdown menus (usually ...
0
votes
0answers
21 views

How to align the data table according to the user's selection in RShiny

I am currently developing a shiny app and I face an issue with the dynamic alignment of the data table. The code used is ui.R shinyUI(fluidPage( dashboardPage( dashboardBody( tabItems( ...
0
votes
0answers
20 views

Where are the CSS and Javascript files located, which Shiny generates during rendering?

Since Shiny Apps is a Web App service, it must generate HTML, CSS and Javascript files during output, correct? I have written my entire Shiny Code in ui.R, server.R, global.R and with some of the ...
0
votes
0answers
29 views

Not able to access large datatable in R [on hold]

I want to read a xlsx file, having 3 sheets, one having approx 60k rows and 20 columns and display it in shiny table. I have used read_excel to read and DT::datatable to display in shiny. I am unable ...
1
vote
2answers
46 views

Output not displayed i shiny app using shinydashboard

I have a sliderInput in a menuItem which can be moved and the selected number needs to be displayed on the screen. Below is the code: library(shiny) library(shinydashboard) sidebar <- ...
0
votes
0answers
8 views

How to add dynamic divID in server to display the chart built from JS file(data sent using sendCustomMessage)

I have a requirement in which based on the user selection(based # of values selected in the map), I have to get the data from database and that data has to be sent to JS file to generate a chart. ...
2
votes
1answer
34 views

How to enable a particular sub-menu in Rshiny?

I am developing a shinyApp using a dashboard package. In that a menu item has 2 sub-menus and the application has to react according to the selection of the sub-menu. But without selecting the sub-...
0
votes
3answers
132 views
+50

Trigger query based on selected date range in Shiny R

I have exctracted below mentioned dataframe in R using SQL query. Query<-paste0("select ID, Date, Value, Result From Table1 where date(date)>='2018-07-01' ...
-2
votes
0answers
33 views

Multiple db connection in shiny R [closed]

I am making a shiny dashboard in R where I want my app to connect to different db connections like Mysql, PostgreSQL,SQLlite where I allow user to select tables and display in dashboard,if selected ...
-3
votes
1answer
49 views

Stack Bar Plot For R Shiny Dashboard

How can I make a stack barchart for my Shiny Dashboard? For example I want one bar for 2016 with number of applications, number of accepted applications and the number enrolled, but all of these ...
1
vote
1answer
46 views

Shiny Tab scroller

How can I add an arrow which lets me click and go through all my tabs. I know I can add multiple tabs in one tabbox and click thorugh each tab to see each table. But is there a way to design the UI ...
0
votes
0answers
21 views

R shinyDashboard: Add more than the 5 ValidStatus / More colors needed

When formatting boxes in shinyDashboard one has to use the status argument. However, only five valid statuses are eligible (?validStatuses, also: https://rstudio.github.io/shinydashboard/appearance....
0
votes
0answers
36 views

Shiny renderUI not Selectinput stopped updating on its own

I am a newbie in Shiny. I am working on a dashboard. I am using renderUI to get some input. For 2 days, the code was working fine but suddenly today it started giving me issues. Any help would be much ...
0
votes
1answer
31 views

Shinydashboard: height issue even using fluidRow

I need to make a very professional Shinyapp, but the end of the body of the app ends in the middle of the last plot. I found this other question, but it's solution (use fluidRow) doesn't work in my ...
-1
votes
2answers
33 views

css Changing the size of a class doesn't work

I am very new to HTML and CSS. That being said, I develop a shiny App (R) and for styling the app, I need to use CSS. (The "shiny"-community did not react to my question), so I try it here: The app ...
1
vote
1answer
32 views

R Shiny: Multiple Conditional Panels with the same condition from CheckboxInput

I'm trying to design a shiny ui with conditionalPanel() which should be displayed or hidden when I select or deselect e.g. an a checkboxInput(). In the example below the it looks fine, but I still get ...
0
votes
1answer
20 views

I can not render a group of box inside a dashboardbody using shiny app

I can't render the box in the dashboardbody. It shows the whole panel but with anything on them. library(shiny) library(shinydashboard) library(shinydashboardPlus) library(qcc) sidebar <- ...
0
votes
1answer
39 views

Shiny: How to initialize empty reactiveValues with an actionButton?

Background: In my app, I have built a pop-up modal wherein users can define variables/parameters and they're subsequently stored in a reactiveValues() once an actionButton is pressed. This appears to ...
1
vote
0answers
26 views

Force a flush in Shiny Dashboard

I am using a shiny app to display some basic information, sales data etc. The data are retrieved from an SQL Server. As loading these Information takes 10-30 seconds, I want the user to see some basic ...
0
votes
0answers
26 views

R Shiny : TextInput values are cleaned, how to keep them?

Hello everybody, Thanks to several topics here, I have started to create a little program, but I have some little problems : First, on the tab "Page 1", when I click the "add_btn" action button, a ...
3
votes
1answer
23 views

Data suppression within Shiny Dashboard

I’m very new to using R let alone shiny dashboard but nevertheless I have a project that requires using it. What I am trying to accomplish is some way of suppressing a particular amount of results in ...
0
votes
0answers
19 views

Does renderDT have a bug when rendering datatable %>& formatStyle?

I am trying to display a data table using shiny dashboard and DT formatStyle and am getting an error: invalid 'x' type in 'x && y'. Can anyone see what I'm doing wrong? The formatStyle ...
1
vote
1answer
45 views

RStudio shiny to shiny dashboard

Here is my code for R shiny (only UI part): library(shiny) library(shinythemes) library(wordcloud2) ui <- navbarPage( title = "Title of App", tabPanel("Category 1",icon = icon("search"), ...
0
votes
1answer
76 views

How to change the background color of the Shiny Dashboard Body

I cannot get the scope to change the background color of the shiny dashboard's body. I do not want to use outside CSS because it is not supported in the Shiny server which I'm hosting. Whatever I do I'...
0
votes
0answers
27 views

Rshiny throws error after publish the app

I implemented a simple stack line graph in Rshiny. The file read from the .csv file added to project folder. The graph is working and displayed fine while running the application from Rstudio. But ...
0
votes
1answer
53 views

How to customize fluidRow in Shiny

So I'm trying to create this output, but in dashboard form using Shiny. It should be noted that this is my second week using Shiny, so I'm very inexperienced. Figure Here is my code: library(...
0
votes
1answer
21 views

My Shinydashboard App is not deploying : Bundle does not contain manifest file

I'm new to RShiny and I decided to create my first App. When I lauch my app with this command it executes right away and everything is fine. shinyApp(ui, server) But when I'm trying to deploy my ...
0
votes
0answers
22 views

Create Downloadable reports based on user inputs in R

I came across this user defined report creator in shiny App Stackoverflow Link I want to create something similar but instead of having "y" as a constant in ggplot, (in this case "mpg") ; my plots ...
0
votes
1answer
23 views

Create Value Box in renderUI by Looping

i want to create a value box according to the data i have. suppose if i have 5 data variable consumerdata like this, id data number1 number2 1 k4j A 67 53 2 rls ...
0
votes
0answers
41 views

Most efficient way to access SQL database from shiny dashboard?

I am currently working on a personal project to make a shiny dashboard that tracks monthly finances (income, expenses, savings, etc) and visualises them. This project is also a tool for me to learn ...
1
vote
0answers
17 views

Get Data from Image in Shiny

I am trying to get the details of the image using google vision api. everything works fine, but when i use this line of code dta <- getGoogleVisionResponse(input_image_file(),feature = "...
0
votes
1answer
27 views

Style shinyWidget::dropdownButton in shinydashboard::box header

Background I am trying to place a shinyWidget::dropdownButton in the header of a shinydashboard::box. The button should have the look and feel of the button created when using a collapsible box (box(....
0
votes
1answer
23 views

in renderPieChart: The data must be made up of two columns, 'name' and 'value'

I am trying to filter my data set which have 19 columns and 5 rows. I just want column 12 and 16 with row no 1 and 2. Here is my code dat2<-data.frame(FundingIAS2018[c(1,2),c(12,13)]) ...
0
votes
2answers
31 views

R Shiny- Dynamic FileInput label

I am building an app where I need to have option for single file upload vs dual file upload. I have achieved single vs dual file upload using conditionalpanel, but I am not being able to change the ...
0
votes
0answers
6 views

shinydashboard - tabName not recognised?

The code below always displays the text "Tab Name = x" and does not change when the tab "y" is selected on the sidebar menu. what is wrong with this code? The idea is simply to display a different ...
0
votes
1answer
19 views

Shiny Dashboard Auto Triggering

I had created one live Shiny dashboard. I know how to publish it in shinyapps.io. Q1: I'm fetching data from json api and its changing frequently. Is it possible to set Auto-run of my app every hour ...
0
votes
0answers
22 views

Text Update after update in Database in Shiny

I am using ShinydashboardPlus for this APP. I am trying to update the value as soon as I am updating in the database. I can check that it is updated in database.but after refreshing or clicking the ...
0
votes
0answers
29 views

How to add a middle legend in the slider on Shiny R?

I have a shiny slider that goes from 1 to 100. I need a label in the middle showing the best "position" in this slider. Like this: Does anyone can help me?
2
votes
1answer
29 views

Shiny modularized inputs inside pop-up modal aren't being written to reactiveValues when dismissed [flexdashboard/shinydashboard]

As a minimally-viable example, I modularized the basic example from here: https://rmarkdown.rstudio.com/flexdashboard/shiny.html#simple_example Code snippet (copy-paste, run as .Rmd in RStudio should ...
0
votes
1answer
27 views

“Ghost” factors when subsetting a dataframe [duplicate]

I have a dataframe (TablaTotal) with the following levels: > levels(TablaTotal$Enfermedad) [1] "Disferlina" "OPMD" "Laminas" "Pompe" "Fshd" "SarcoG" "Calpaina" "...
0
votes
1answer
33 views

Save As functionality in shiny app download

I am building a shiny app where I am trying to put a download button which will ask user to choose name while saving the file. In below example, when user clicks on download button, it automatically ...
1
vote
1answer
65 views

daterangeinput without fluidpage in shiny dashboard

I have an issue while creating a shiny web app using semantic.dashboard library. Below is the code for my app. library(semantic.dashboard) # Define UI header <- dashboardHeader( ) sidebar <- ...
0
votes
1answer
22 views

shinydashboard: strange rendering when using uiOutput() for body

I want my dahsboardbody to change depending on a choice make in the sidebar. However, I have a problem with the resulting rendering of the body as shown below: wrong rendering The box has width = 12 ...
0
votes
1answer
44 views

R Shiny Create Dynamic Numeric Input Based off Checkboxes

The program I'm writing takes a spreadsheet of grades and then creates tables, plots, and summaries of the data it receives. However, I want multiple users to be able to use this. This means the ...
1
vote
1answer
29 views

Shiny plots from user loaded data

I am building a shinydashboard that I want to allow a user to be able to load an excel file and then generate plots and additional output items. The problem I am running into is I can load the data: ...
1
vote
1answer
46 views

How to center table in box in Shiny Dashboard

I'm having difficulty centering a table I made in Shiny Dashboard within a box. I used a .csv file, but here is some fake data: Stage = c("Survey", "Work Sample", "Interview", "Stats Test") Score = c(...
0
votes
0answers
15 views

Dynamic Number of RenderTables in same Row- Shiny

I have this code in which i want to show a dynamic number of tables based on user input. I want to show them in the same row, with a scrollbar for example. In my current version when the sum of the ...
1
vote
2answers
37 views

R shinydashboard - show/hide multiple menuItems based on user input

The idea is to have a user input (access code), based on which different menuItems can be accessed. So basically we have a custom version of app available based on user's requirement. A working ...
0
votes
0answers
50 views

Add logo to shinydashboard title

I want to add a logo to a shinydashboard title. I checked out this thread: Adding a company Logo to ShinyDashboard header Based on that, I made the following code This however, has a problem: It ...