Shiny

Display different image as title of shiny dashboard based on different tabpanels

天涯浪子 提交于 2020-04-11 18:32:00
问题 Is it possible to display different image as title of the shiny dashboard based on the tabPanel() that you use. I want different image for the tab 'Front' and different for the tab 'Data' . # app.R ## library(shiny) library(shinydashboard) library(shinydashboardPlus) library(DT) library(shinyWidgets) library(shinyjs) dbHeader <- dashboardHeaderPlus( enable_rightsidebar = TRUE, rightSidebarIcon = "gears", fixed = T, title = tags$a(href='http://mycompanyishere.com', tags$img(src='logo.png')) )

How to run R Shiny App in Docker Container

家住魔仙堡 提交于 2020-04-10 06:12:56
问题 I built a Docker Image for an R Shiny App and ran the corresponding container with Docker Toolbox on Windows 10 Home. When trying to open the App with my web browser, only the index is shown. I don't know why the app isn't executed. The log shows me this: *** warning - no files are being watched *** [2019-08-12T15:34:42.688] [INFO] shiny-server - Shiny Server v1.5.12.1 (Node.js v10.15.3) [2019-08-12T15:34:42.704] [INFO] shiny-server - Using config file "/etc/shiny-server/shiny-server.conf"

How to run R Shiny App in Docker Container

爱⌒轻易说出口 提交于 2020-04-10 06:12:30
问题 I built a Docker Image for an R Shiny App and ran the corresponding container with Docker Toolbox on Windows 10 Home. When trying to open the App with my web browser, only the index is shown. I don't know why the app isn't executed. The log shows me this: *** warning - no files are being watched *** [2019-08-12T15:34:42.688] [INFO] shiny-server - Shiny Server v1.5.12.1 (Node.js v10.15.3) [2019-08-12T15:34:42.704] [INFO] shiny-server - Using config file "/etc/shiny-server/shiny-server.conf"

How to run R Shiny App in Docker Container

巧了我就是萌 提交于 2020-04-10 06:12:30
问题 I built a Docker Image for an R Shiny App and ran the corresponding container with Docker Toolbox on Windows 10 Home. When trying to open the App with my web browser, only the index is shown. I don't know why the app isn't executed. The log shows me this: *** warning - no files are being watched *** [2019-08-12T15:34:42.688] [INFO] shiny-server - Shiny Server v1.5.12.1 (Node.js v10.15.3) [2019-08-12T15:34:42.704] [INFO] shiny-server - Using config file "/etc/shiny-server/shiny-server.conf"

Shiny Dashboadpage lock dashboardHeader on top

回眸只為那壹抹淺笑 提交于 2020-04-10 06:05:44
问题 I use R Shiny Dashboardpage to build my interactive dashboard. I want to lock the dashboardHeader and sidebarMenu so that when scrolling, the header and sidebar remain on the same position. For the sidebarMenu, this can be done in the CSS: .skin-blue .main-sidebar { position: fixed; overflow: visible; } However, when you try the same trick for the dashboardHeader, it fails. It places the dropdownMenus (the notification icons) on the left, instead of on the top right corner. How can I fix the

Launch and terminate shiny app through terminal

我怕爱的太早我们不能终老 提交于 2020-04-10 04:32:06
问题 How can I launch the Shiny App, "my_shiny" through the terminal. Also, how do I terminate or close the app through the terminal only. 回答1: Try this: Rscript -e 'library(methods); shiny::runApp("my_shiny/", launch.browser = TRUE)' 来源: https://stackoverflow.com/questions/35986731/launch-and-terminate-shiny-app-through-terminal

Launch and terminate shiny app through terminal

人盡茶涼 提交于 2020-04-10 04:31:03
问题 How can I launch the Shiny App, "my_shiny" through the terminal. Also, how do I terminate or close the app through the terminal only. 回答1: Try this: Rscript -e 'library(methods); shiny::runApp("my_shiny/", launch.browser = TRUE)' 来源: https://stackoverflow.com/questions/35986731/launch-and-terminate-shiny-app-through-terminal

Button extension to download all data or only visible data

会有一股神秘感。 提交于 2020-04-08 10:19:48
问题 With the button extension to DT package, is there a way to specify that the buttons download either (1) all the data feeding the datatable, or (2) only the data on the visible page. Below is the example from the documentation. datatable( iris, extensions = 'Buttons', options = list( dom = 'Bfrtip', buttons = c('copy', 'csv', 'excel', 'pdf', 'print') ) ) 回答1: See this answer: Buttons: download button with scroller downloads only few rows Whether the buttons export all data or only visible data

Button extension to download all data or only visible data

霸气de小男生 提交于 2020-04-08 10:14:21
问题 With the button extension to DT package, is there a way to specify that the buttons download either (1) all the data feeding the datatable, or (2) only the data on the visible page. Below is the example from the documentation. datatable( iris, extensions = 'Buttons', options = list( dom = 'Bfrtip', buttons = c('copy', 'csv', 'excel', 'pdf', 'print') ) ) 回答1: See this answer: Buttons: download button with scroller downloads only few rows Whether the buttons export all data or only visible data

Shiny selectInput very slow on larger data (~15,000 entries) in browser

北城余情 提交于 2020-04-05 07:30:10
问题 I have this basic shiny app, and it is blazing fast in the 'Viewer', but when I use the 'Open in Browser' option, the select input choices take a while to load. selectList <- sapply(1:15000, function(x) paste(sample(letters, 10), collapse = '')) ui <- fluidPage( selectInput('mylist', 'Select Something', choices = c(Choose = '', selectList), selected = 1) ) server <- function(input, output) { } shinyApp(ui = ui, server = server) According to this thread - https://groups.google.com/forum/#