shinydashboard

Shiny Plot Height behaving different on different desktop

落爺英雄遲暮 提交于 2020-02-04 05:19:14
问题 I am trying to make a custom UI in which i have to plot 4 plots inside each tab, but i am getting scroll on plot rendering and when i add height as 240 scrollbar disappear and it works for the same size desktop but it behaves different on different size of desktop and i get scrollbar again. motive is to fit the plots in screen without scrollbar, also i would like to get a feedback that am i creating UI in a right way Thanks UI navbarPage("NarBar", tabPanel("Tab1", column(12, column(4, column

in shiny deployment, How to fix adminLTE deployment issue?

纵饮孤独 提交于 2020-01-25 02:23:47
问题 I'm trying to deploy my shiny app, it works fine in localhost without any issues but when I try to deploy it, I got errors, here is the log of my app: 2020-01-15T05:42:16.875187+00:00 shinyapps[1659296]: Server version: 1.7.8-7 2020-01-15T05:42:16.875214+00:00 shinyapps[1659296]: LANG: C.UTF-8 2020-01-15T05:42:16.875219+00:00 shinyapps[1659296]: R version: 3.6.0 2020-01-15T05:42:16.875221+00:00 shinyapps[1659296]: shiny version: 1.4.0 2020-01-15T05:42:16.875221+00:00 shinyapps[1659296]:

How to change the width and height of verbatimTextOutput in Shiny and Shinydashboard

最后都变了- 提交于 2020-01-24 20:00:06
问题 In this example, I would like to make the width of the height of the verbatimTextOutput ( Text output no.1 ) as the same as the textInput ( Text input no.1 ). My ultimate goal is to make the appearance of the textInput and verbatimTextOutput completely the same. To achieve this, I have asked several questions as how to change the corner angle (Why shinydashboard changes the corner of a numericInput from round to 90 degree?), and how to change the font family of verbatimTextOutput (How to

How to change the font family of verbatimTextOutput to be the same as the input in Shiny and Shinydashboard?

六月ゝ 毕业季﹏ 提交于 2020-01-23 03:54:05
问题 I would like to change the font family of the verbatimTextOutput to be the same as the input in Shiny and Shinydashboard. Here is an example. # Load the packages library(shiny) library(shinydashboard) # User Interface ui <- dashboardPage( header = dashboardHeader(title = ""), sidebar = dashboardSidebar( sidebarMenu( menuItem( text = "Example", tabName = "tab1" ) ) ), body = dashboardBody( tabItems( tabItem( tabName = "tab1", fluidRow( column( width = 4, numericInput(inputId = "Number", label

Render rCharts using ReporteRs package in powerpoint

梦想与她 提交于 2020-01-16 13:18:08
问题 I can renderchart in R shiny by below code: output$example=renderChart2({ p1 <- nPlot(mpg ~ wt, group = 'cyl', data = mtcars, type = 'multiBarChart') p1 }) Now, I want the same thing in ppt. by using ReporteRs package.I have tried below code but it is not working library(ReporteRs) doc =pptx( ) doc <- addSlide(doc, "Two Content") plotFunc<- function(){ nPlot(mpg ~ wt, group = 'cyl', data = mtcars, type = 'multiBarChart') } doc <- addPlot(doc, fun =print, x = plotFunc) writeDoc(doc, "r-2.pptx"

After browse data it not displayed in shiny dashboard

我与影子孤独终老i 提交于 2020-01-16 09:05:11
问题 I want to upload a file using "Browse option" after that, I want to do autofill of table using "WorklistNo"(means: choosing one input should fill rest field automatically) values and rest column should be auto fill. But I am getting some errors. Based on WorklistNo my other data should be populated in different input boxes in the shiny dashboard. [![enter image description here][1]][1]library(shiny) library(shinydashboard) ui <- dashboardPage( dashboardHeader(title = "Basic dashboard"),

Loading files and displaying necessary features as per files loaded

三世轮回 提交于 2020-01-16 08:08:52
问题 I have a small application, where in I need to load csv files. There are couple of files in my folder say(File1.csv, File2.csv, File3.csv). The moment I load them one by one in R application. I may require following things (Is it possible to achieve this ?) If so can anyone please help me Scenario 1 : 1) The moment I load File1 data. A rhandsontable should be displayed showing File1 is loaded like shown below 2) A renderText displaying "There are 1 no of files" 3) In case I do not need this

Shiny Bookmarking is not Working If I Changed the Formatting of Numeric Input

一笑奈何 提交于 2020-01-14 04:08:28
问题 I want to design an app using Shiny that allows users to bookmark the input values. However, I found that if I changed the input format of the numericInput , bookmarking will not work. Based on this link (https://beta.rstudioconnect.com/barbara/format-numbers/) to format the input of a numericInput . I created a js file called number_format.js and stored the file in the directory www . The code is as follows. $(document).ready(function() { // Helper function to guarantee cross-browser

Shiny Bookmarking is not Working If I Changed the Formatting of Numeric Input

橙三吉。 提交于 2020-01-14 04:08:28
问题 I want to design an app using Shiny that allows users to bookmark the input values. However, I found that if I changed the input format of the numericInput , bookmarking will not work. Based on this link (https://beta.rstudioconnect.com/barbara/format-numbers/) to format the input of a numericInput . I created a js file called number_format.js and stored the file in the directory www . The code is as follows. $(document).ready(function() { // Helper function to guarantee cross-browser

Shinydashboard - Change background based on selected tab

亡梦爱人 提交于 2020-01-14 01:47:52
问题 I am creating a dashboard using Shinydashboard package, where I need to change the background color based on the selected Tab. I have tried the following code, but it is not working as intended. library(shiny) library(shinydashboard) library(dplyr) ui <- dashboardPage(dashboardHeader(dropdownMenuOutput("notificationMenu")), dashboardSidebar(sidebarMenu(menuItem("Page 1", tabName = "page1"), menuItem("Page 2", tabName = "page2"))), dashboardBody(tags$style(".content {background-color: #f7f7f7;