Shiny Questions
Ad
Errors when trying to apply conditional filters
I have the following data for which i am trying to make a set of dropdown filters that will alter the displayed dataframe according to what was
csv file upload at start of r shiny app (quasi placeholder file)
With this code i can upload a csv file in my shiny app. library(shiny) ui <- fluidpage( sidebarlayout( sidebarpanel(
Resizing column widths in R-Shiny using jQuery
I'd like to use the resizable function in jquery to resize column widths in a shiny application. unfortunately, i'm not sure how to pass along
How to insert Javascript code into Leaflet in R to not fire click even when double-clicking
I would like to preserve the "double-click to zoom" functionality in leaflet (in r), but would also like to add a click-event. in this case, the
How to add HTML dependencies in an update* function for custom Shiny Input
I have a custom shiny input (myinput), which lets you include an icon. the icon can be updated in an updatemyinput
How to reactively extract column of values from tibble for plotting?
I have an app that allows the user to stratify data, and select the point-in-time to stratify. a function (stratdata(...)) in the
filter() function having issues in filtering rows using selectinput(multiple)
The following code filters rows of co2 with specific names from the 'plant' column. however i have been having trouble doing this. when i use
query an arbitrary html element, e.g. to see if it is disabled, with shinyjs
Can shinyjs do something like if(is_disabled("#my_element_id")) do_something()? i'd like to be able to see if a specific html element
Multiple Selection From Dropdown Using if-else Rshiny
I am trying to create two dropdowns based on user input. if a user selects "val1", then show values in the second dropdown from
Save / export webm videos to app directory from JavaScript in Shiny
I have integrated a webcam video capture into a shiny app using recordrtc and javascript. that works great and i can access and store my videos in
Ad
R Shiny build links between tabs WITH sidepanels/conditional panel
This is a question building on top of the discussion on
Independent reactions are interacting in a Shiny App
I'm using the sliderinput function with the animate argument to perform an automatic calculation in my shinyapp. however, using
Is it possible to make an onfocus-function for the DataTable search bar in R shiny
I am creating a shiny app that uses a datatable. i want to create keyboard shortcuts for different elements in this app, which i can. however
How do I add an additional table in a shiny app?
I have this reproducible code below using the iris dataset. i am wondering how i can create an additional table below the current table or in a
Updating an input and triggering an action button inside an observer
I have an application which utilizes an actionbutton to apply a filter selection to a plot. the application also contains a reset
Modify a javascript for determining font color to use in R Shiny
I'm looking to determine the font color of hover messages based on the background color, i.e. white if background is dark, and black if it is
ShinyApp: keep dynamically generated input values from being lost
I have some inputs that are generated or eliminated if some actionbuttons are activated. however, the input value is reset each time
textInput with submitButton in Shiny
I am currently exploring the possibility of visualizing the outputs obtained from rtweet in a shiny dashboard to allow users to explore their own
Using Shiny and checkboxGroupInput to update a table via bind_rows or rbind and using if else statements
I have three tables (math, science, and literature results). i would like to have a "dynamic" table that updates some columns when
R & Postgis: ERROR: Geometry type (Polygon) does not match column type (MultiPolygon)
The code below enables me to add polygons i draw on a leaflet map to tables in my database. however i have some difficulties since the geometry
Update shiny UI only when tab is selected
I have a shiny dashboard with multiple tabs. in one of the tabs, a slow database query fills the choices for a dropdown menu. i want the slow
Ad
R Shiny - Using a custom message handler to disable a single radio button in a radio button group
The app below contains a selectinput input$set1 with two options (download and upload) and a radio button
R Shiny + plotly : change color of a trace with javascript without affecting markers and legend in multiple plots
This is a follow up question based on
Run javascript code when output is rendered for default render methods (like onRender for widgets)
In shiny apps we can add javascript code to run when a widget has rendered using onrender from library(htmlwidgets). the
How to update show/hide traces of a plotly widget in R shiny in response to actionbuttons without re-rendering
I'm looking for a way to link actionbutton clicks to the legend status true/legendonly that doesn't
R plotly: how to observe whether a trace is hidden or shown through legend clicks with multiple plots
I am trying to figure out which traces the user hides from a scatter plot by means of deselecting them in the interactive legend of plotly.
Problem with combination of hide(), show() and reset() in shiny
I have been having problems combining the hide(), show() and reset() functions from the shinyjs package. i have two divs. one div collects data
Ggplot is displayed without numeric limitations in its labels inside shiny app
I have the shiny app below in which i create a dynamic scatterplot. the thing is that when i create my ggplot outside of the shiny
Dynamic coloring of cell background in rhandsontable
My question is a bit more advanced than the
Trying to get the difference of range sliderInput in R Shiny
I'm working through an r shiny tutorial, and decided to veer off
Find download URL from datatables "CSV" button?
This r shiny application appears to use
Trying to get calculate chi-square in R shiny with drop down menu inputs
I am trying to calculate chi-square based on the user selecting columns from the data frame but i keep getting the following errors:
Ad
Remove selected rows in datatable and upload plot_click event accordingly in shiny app
I have a small shiny app where the user clicks on a plot to draw a point. the x/y coordinates of the point are detected by plot_click and this
Load countries flags to be displayed in multi.js for many countries in a shiny app
I have the shiny app below in which i create multi.js input with country names and flags. now vector country works but fos specific
Get input values from conditionalPanel
I am trying to generate a shiny app that will first allow the user to (using the notion of dplyr verbs) select the variables they are interested
R shiny addition of points according to input
I want to create an application where inputs are matched with a score. here is my code: library
Match flags with countries in a multi.js input of shiny app
I have the dataframe below with the multi.js input with flags and countries. as you will see it is obvious that the countries do not
Error when trying to update selections from a pickerinput
Hello and thanks for the help. i am trying to make an app that updates the selections of one pickerinput depending on the selections of another.
How to upload a CSV file into R/shiny and automatically populate selectors based on column headers
I want to upload a csv file from a \data folder inside the r project. so far i've been reading questions, but most answers seemed a bit too
Nginx - Run Wordpress as subdomain where another app is running on main domain
I'm having trouble deploying wordpress in a subdomain where the main domain is running a different app (shiny server). for the purpose of the
How to change the data source which is used for a plot depending on the selected dropdown menu in R Shiny?
My situation is the following that i import a csv dataset from imdb into my small shiny app. it contains in the respective columns the values for
How to solve Error: NA/NaN argument in a shiny code
I'm not able to generate the output table in shiny, and if i do it only through the function i can. when i try to generate from shiny, i get the
How to show hidden tabs after clicking an actionButton? [Shiny]
I am trying to find the way to have some hidden tabs and show them after clicking an actionbutton. i found this
Ad
Is it possible to add a sidebarPanel and a mainPanel in each tabPanel using navbarPage?
I have at least 2 individual apps that i want to join in one single app. although i was using shinydashboard, i think that it could
Set the numbers of words displayed in wordcloud in shiny app
I have the shiny app below in which i want to set the count of words displayed in the wordcloud. everytime the word is 1 no word is
Add a logo to a leaflet map in a shiny app
I would like to add a logo to a leaflet map in a shiny app. the addlogo function of the leafem package allows
selectizeInput() box slightly taller than rest
I ran into a bit of trouble in my app. i have a fluidrow, which contains 2 colums, and these columns again contain fluid rows. i have a
Display a text message when wordcloud is not diplayed in shiny app
In the shiny app below i display a wordcloud and a slider that sets the number of words displayed. when this number =1 (input$max==1)
R Shiny Database Connection based on actionButton (eventReactive) ->connection does not exist outside eventReactive
I am having a problem with eventreactive in shinyapp. i would like the user at the beginning to write user name and
Dynamic Plots Based on One or More Dropdown Values 2
This question is related to one i asked here:
Fetching big SQL table in the web app session
I'm quite new in web app so apologize if my question is abit basic. i'm developing a web app with r shiny where the inputs are very large tables
Ordering characters values alphabetically returns numeric values to me in a pickerInput()
I'm trying to alphabetically order the values of the pickerinput() shown below, but i get the numbers instead of characters even
Update plotly in R without recreating widget when plotted data is altered
Everytime a plotly object is created by r in shiny, (or just in r), the widget is recreated completely. for small data sets this is not a problem,
Dynamic Plots Based on One or More Dropdown Values
I am trying to make multiple dynamic plots (one does not know how many plots will output) based on one or more selected dropdown value(s)
Ad
reactiveValues with a reactive shiny R
I am trying to eliminate some points from a plotly graph by clicking on them, the code i have works perfectly, however when applying a filter
R shiny app reads data with parentheses in attribute name
I have a problem with following app, my goal is to analyze data, from input dataset, which has a attributes name including parentheses. when i try
Change colors of barplot in dynamic variable -Rshiny
I have a dataset with categorical data (let's use arthritis from vcd package for exmaple purposes). i want to obtain a barplot where for
Get attribute of element in rendered UI with JavaScript in Shiny
I am trying to get or change a attribute of a javascript element in shiny. so in the example below, i would like to obtain the iframe
Adding HTTP headers in Shiny to play audio?
I would like to play an audio file in shiny. more specifically, i would like to be able to rewind and forward the audio file.
How to avoid initial loading of all conditionalPanels in sidebarMenu while Shiny Application loads?
In the code below, i am creating a dynamic sidebarmenu based on the selected tab. during the initial load of this application, the
Shiny App: Adding unlimited number of input bars
I want to build an app in which the user can add as many as input slots as he wants. i could only build an app that let the user to add only one
Accessing Shiny App from the WordPress site
I have a shiny dashboard, which i have deployed on my custom server (running centos). it is deployed by running the following command on the
Plot changing with one or more parameters in R-Shiny
I have little to no experience with r-shiny, but i thought that i could get it done with a simple example. used the book mastering shiny by
Update tabPanel content with selection in Sidebar control | Shiny R
I am making a very simple shiny app, where i want to update tabpanel content with whatever is selected in sidebarmenu,
Display two visualizations that are based on two different dataframes in modularized shiny app
In the modularized shiny app below i want to create one map which is created and one plot below the map. the 2 visualizations are based on 2
Ad
Shiny widget that is dependent on other shiny widget does not work in shiny modularized app
In the shiny app below i use shiny modules to create a leaflet map. the issue is that the one of the 2 widgets that interact with the map is
Docker: error 500 - failed to start container
I encounter this issue after running java -jar shinyproxy-1.0.2.jar and access my app: error status code: 500
How to add Onclick event to c3 chart in Shiny, R?
I want to add onclick event to c3.js chart in shiny r. i`v read this
Align Inputs with Labels and ActionButton vertically in fluidRow
In my shinydashboardplus app, i use fluidrow/column to specify my layout. sometimes, i have one or several
Delay while rendering graphics in Shiny
I have a shinyapp and am trying to make the charts not suffer from rendering delay when i omit and activate the sidebar in
How do I make my very simple Shiny App to work?
I am new with shiny app and i wanted to try something very simple but i'm having a hard time with it. i have a data that looks like
Conditional values using if else within shiny app using tidyverse and dplyr to group and filter a dataset
I have a simple shiny that presents descriptive statistics using reactive. however, i would like to use ifelse within tidyverse pipe
R Shiny: Use update* From Outside a Module
What's the best way to use update* from outside a shiny module without repeating the callmodule() call or arguments? minimal example:
Create one shiny app with two users that log in to different versions of the app
I have the shiny app below in which let's say that we want to log in 2 different users. the "shiny" and the
Why does group_by() in dplyr not work when switching from sum to counting unique occurrences?
The below mwe code works fine for summing data frame values, whereby the user selects which type of period to group by in the radio buttons in the
How to set independent table column widths using renderTable()?
In the code below, i'm trying to adjust column widths independently (where the "period...", "col a", and "col b" can
Ad
R Shiny: Click and jump to different tab passing values
Is there any way to click an element in a datatableoutput and then jump to a different tabpanel? i know using escape =
Change the default position of zoom control in leaflet map of Shiny app
I am using shiny app to create leaflet map, but want to change the default position of zoom control from topleft to
Set sliderInput values as characters in shiny
My shiny app has a sliderinput, but want to replace values as character labels. how could i implement it? thanks for any
Ad
Blog Categories
Ad