shinyapps

Error in Shiny deployment on shinyapps.io

可紊 提交于 2021-02-18 18:15:11
问题 I got a Shiny App that works fine on my PC, but once I deploy on shinyapps.io it shows the following error on the web browser: And the following error on the Deployment Console: Warning message: In value[[3L]](cond) : Failed to parse C:/Users/david.jorquera/AppData/Local/Temp/RtmpSOqdYV/file13849671673/app.R ; dependencies in this file will not be discovered. If you need the exact excel file I'm using I would happily attach it if you tell me how to do it (sorry, haven't figure that out yet).

Understanding why action buttons in Shiny don't work, when using several of them

邮差的信 提交于 2021-02-11 12:23:32
问题 Why when I put together several action button codes from Shiny manual (https://shiny.rstudio.com/articles/action-buttons.html), it DOES NOT run (i.e. no button reacts) ? Each code separately runs fine. How to fix it? (This is relates to this post: Convert Shiny App R code to Rmarkdown Shiny App code: with observeEvent and eventReactive) # Code from https://shiny.rstudio.com/articles/action-buttons.html library(shiny) ui <- fluidPage( # Pattern 1 - Command tags$head(tags$script(src = "message

A way to not hardcode items in css with R Shiny app?

帅比萌擦擦* 提交于 2021-02-11 04:51:33
问题 I have the below code example (taken from here) . Is there a way for the below to work without hardcoding the values "a" and "b" in the html css? If I have hundreds of items I don't want to have to hardcode each one in the call to .option[data-value=a] etc. shinyApp( ui = shinyUI(fluidPage( tags$head( tags$style(HTML(" .option[data-value=a], .item[data-value=a]{ background: red !important; color: white !important; } .option[data-value=b], .item[data-value=b]{ background: green !important;

Creating a scatter plot using ggvis in a shiny app

最后都变了- 提交于 2021-02-10 20:11:45
问题 I am trying to create a simple app that does the following: Import a csv file as a reactive (this has to be a reactive) Print the contents of csv as data table in one tabPanel Create an interactive scatter plot using ggvis in another tabPanel However I am unable to create the plot- the tabPanel where plot is supposed to appear is blank. There is no error or warning messages in the console whatsoever. Not sure what is wrong with the code. Here is the code: # Define UI for application ui <-

integrating leaflet map in RShiny - inputselect by country and symptom

微笑、不失礼 提交于 2021-02-08 11:56:21
问题 I am attempting to create a map within Shiny R, with leaflet. I have several questions: How to create the map by selecting Symptoms by Country? as you can see data contains countries and symptoms in rows (see link on GitHub provided bellow). if I want to filter by a certain country and certain symptom how do I do this with leaflet in Shiny r? I want created a draggable drop down menu (where symptoms can be chosen - see question 1) since I cannot adjust the map on the entire screen. An example

PickerInput label issue when inline is TRUE

試著忘記壹切 提交于 2021-02-08 06:10:19
问题 I have a r shiny app in which users have numerous choices they need to pick prior to plotting. In the pickerInput, the label text goes behind the choices. The code below library(shiny) library(shinydashboard) library(shinyWidgets) library(shinyjs) library(magrittr) library(dplyr) ui <- dashboardPage( dashboardHeader(title = "PickerInput Query", titleWidth=450), dashboardSidebar( width = 300, useShinyjs(), sidebarMenu(id = "tabs") ), dashboardBody( uiOutput('groupvar'), uiOutput('shapetype') )

PickerInput label issue when inline is TRUE

Deadly 提交于 2021-02-08 06:06:44
问题 I have a r shiny app in which users have numerous choices they need to pick prior to plotting. In the pickerInput, the label text goes behind the choices. The code below library(shiny) library(shinydashboard) library(shinyWidgets) library(shinyjs) library(magrittr) library(dplyr) ui <- dashboardPage( dashboardHeader(title = "PickerInput Query", titleWidth=450), dashboardSidebar( width = 300, useShinyjs(), sidebarMenu(id = "tabs") ), dashboardBody( uiOutput('groupvar'), uiOutput('shapetype') )

PickerInput label issue when inline is TRUE

折月煮酒 提交于 2021-02-08 06:06:22
问题 I have a r shiny app in which users have numerous choices they need to pick prior to plotting. In the pickerInput, the label text goes behind the choices. The code below library(shiny) library(shinydashboard) library(shinyWidgets) library(shinyjs) library(magrittr) library(dplyr) ui <- dashboardPage( dashboardHeader(title = "PickerInput Query", titleWidth=450), dashboardSidebar( width = 300, useShinyjs(), sidebarMenu(id = "tabs") ), dashboardBody( uiOutput('groupvar'), uiOutput('shapetype') )

Shinyapp.io to read a local file that update its content every 5 minutes

旧巷老猫 提交于 2021-02-07 11:00:28
问题 My shiny app will reads content from a local file in my desktop every 5 mins because the file's content get updated every 5 mins too. And my shiny app basically read in the new content and append the data to the existing dataframe and plot the new content out every 5 mins. Question : Ultimately, I would like to host this online. If I host this on shinyapps.io , would I still be able to read the local file in my desktop that is updated every 5 minutes? If not, what can I do? 回答1: I haven't

Invalid version specification on Shiny app

不想你离开。 提交于 2021-02-07 10:41:14
问题 When I try to deploy my (reticulate-powered) Shiny app to shinyapps.io, I get the following error: Error in value[[3L]](cond) : invalid version specification ‘20.1b1’ Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous> Execution halted While it is not explicit, I suppose the error is refering to the pip version, which I never explicitly specify. This is the part of the code that precedes the ui and server functions: library(reticulate) library(shiny) virtualenv_create