shiny-server

Host shiny app on Windows

折月煮酒 提交于 2021-02-07 14:53:51
问题 First of all my question is very related to How to host Shiny apps on windows server? But, it seems that i need some more reputation to comment in other posts.... My problem/question: I have a shiny app that i want to deploy and make available for people in my department. The paid version of shinyapps.io is not an option for now at least, so i am looking for alternatives. I am working on Windows and this is a problem from what i understand in order to host my own server. I tried the solution

Real time chart on R - Shiny

不羁的心 提交于 2021-02-07 08:56:30
问题 I'm trying to make an interactive chart that plots financial stock data on a shiny app. My attempt is to update continuously the data, hence the chart. I managed this using a package called Highcharter. Below it's shown a part of code in the server part (getDataIntraday() receive two input and returns updated xts). getID <- reactive({ invalidateLater(60000) y <- getDataIntraDay(input$text, input$radio) return(y) }) output$plot1 <- renderHighchart({ y <- getID() highchart() %>% hc_credits

Real time chart on R - Shiny

六眼飞鱼酱① 提交于 2021-02-07 08:52:18
问题 I'm trying to make an interactive chart that plots financial stock data on a shiny app. My attempt is to update continuously the data, hence the chart. I managed this using a package called Highcharter. Below it's shown a part of code in the server part (getDataIntraday() receive two input and returns updated xts). getID <- reactive({ invalidateLater(60000) y <- getDataIntraDay(input$text, input$radio) return(y) }) output$plot1 <- renderHighchart({ y <- getID() highchart() %>% hc_credits

Real time chart on R - Shiny

纵饮孤独 提交于 2021-02-07 08:51:35
问题 I'm trying to make an interactive chart that plots financial stock data on a shiny app. My attempt is to update continuously the data, hence the chart. I managed this using a package called Highcharter. Below it's shown a part of code in the server part (getDataIntraday() receive two input and returns updated xts). getID <- reactive({ invalidateLater(60000) y <- getDataIntraDay(input$text, input$radio) return(y) }) output$plot1 <- renderHighchart({ y <- getID() highchart() %>% hc_credits

R shiny updateSelectInput choices for one dropdown menu with choices from another (ie one is a subcategory of the other)

无人久伴 提交于 2021-01-29 18:06:09
问题 I have a table of data MegaP2 with Organ type, separated into Lung and Skin , and then various cell types all of which come from either lung or skin. I have tried to make the available choices in the Cell Lines dropdown box reflect only those that come from the selected Organ in the first dropdown box. If I select Skin or Lung it gives the relevant cell lines perfectly, but then if I try to select the other organ type it then further restricts the cell lines to only those in both organs

Shiny Stock Chart Error: chartSeries requires an xtsible object

喜欢而已 提交于 2021-01-29 13:08:04
问题 I have the following code. I want to take the input of a valid stock symbol and render a candlestick plot. I want to give the user the option to switch between 20, 50, and 200 day simple moving averages on the plot as well. However, when I run the app, the mainPanel returns: Error: chartSeries requires an xtsible object. This is my first Shiny App development and I am at a loss as to why it is not working. library(shiny) library(quantmod) library(lubridate) shinyUI(fluidPage( titlePanel(

how to change column names in rshiny using reactive function

|▌冷眼眸甩不掉的悲伤 提交于 2021-01-29 09:45:47
问题 I am uploading one csv file and to standardize the code I want to change the column names. so I am using following code: Prv_mnth_so1 <- reactive({data.frame(lapply(data_uploaded1(),trimws))}) colnames(Prv_mnth_so1()) <- c("GST_ward","Category","order_and_section","combo") but this throws an error Warning: Error in <-: invalid (NULL) left side of assignment 52: server [#12] Error in colnames(Prv_mnth_so1()) <- c("GST_ward", "Category", "order_and_section", : invalid (NULL) left side of

R Shiny Reactive values, dplyr filter error?

一世执手 提交于 2021-01-29 08:29:20
问题 I am trying to figure out as I select input in UI to immediately reflect the results on page. My search results led me to look into reactive expression and reactive values. But as I am trying to filter the value on data, I think it is causing some complication yet I have no clue what I am supposed to do with this. It seems like the filter function doesn't seem to work though. This is the error message: Warning: Error in UseMethod: no applicable method for 'filter_' applied to an object of

How can I prevent my Shiny App from disconnecting in a open-source shiny-server?

非 Y 不嫁゛ 提交于 2021-01-27 17:09:51
问题 I'm running a R shiny application on an open source shiny-server, using Ubuntu and NGINX. However, my app keeps getting the message "Disconnected from the Server" for some reason and I can't seem to get it to work. The shiny app runs perfectly fine on my local. I've tried the javascript workaround via the following suggestion in Shiny server session time out doesn't work, but it still doesn't seem to work. Also tried to set app_idle_timeout and app_init_timeout to a longer duration, but to no

how pass multiple parameters to shiny app via URL to updateSelectInput?

有些话、适合烂在心里 提交于 2021-01-07 01:21:48
问题 I have this code for "global" query for passing multiple arguments (countries) to show multiple plot via updateSelectInput my project http://webcovid19.online Problem is that parameter passing is working only for 1 argument like this http://webcovid19.online/?global=Slovakia, with more arguments like below http://webcovid19.online/?global=Slovakia,Czechia looks that passing arguments not working, got this error. "Aesthetics must be either length 1 or the same as the data (1): x, y, colour,