Relative Content

Tag Archive for rshiny

Color Transparency Not Consistent in Shiny Map

Link to the data is here.
Hi I am developing a Shiny App. I have drop down menu with All options and the colors are consistent and transparent across the map. But I choose a particular city, it turns out into a more solid color with almost or no transparent. How can I modify the code. Here is my UI and Server code

Color Transparency Not Consistent in Shiny Map

Link to the data is here.
Hi I am developing a Shiny App. I have drop down menu with All options and the colors are consistent and transparent across the map. But I choose a particular city, it turns out into a more solid color with almost or no transparent. How can I modify the code. Here is my UI and Server code

Color Transparency Not Consistent in Shiny Map

Link to the data is here.
Hi I am developing a Shiny App. I have drop down menu with All options and the colors are consistent and transparent across the map. But I choose a particular city, it turns out into a more solid color with almost or no transparent. How can I modify the code. Here is my UI and Server code

Set sliderInput values after rendering table shiny

I have built an application in Rhsiny which houses multiple applications on its own.
It consists of multiple tabs and sub tabs which all have their own tools on them.
Now I have one where I want to set the values of a slicer to the max value in a dataframe, but the dataframe is initially not yet renderend, therefore I struggle to set the values in the UI. I do not want to generate the table before loading the application because I have a lot of other applications and try to keep the workspace as clean as possible, i.e. if this tab is not opened I do not want to load the table/run the script at al. A small example of what I try to do;

Set sliderInput values after rendering table shiny

I have built an application in Rhsiny which houses multiple applications on its own.
It consists of multiple tabs and sub tabs which all have their own tools on them.
Now I have one where I want to set the values of a slicer to the max value in a dataframe, but the dataframe is initially not yet renderend, therefore I struggle to set the values in the UI. I do not want to generate the table before loading the application because I have a lot of other applications and try to keep the workspace as clean as possible, i.e. if this tab is not opened I do not want to load the table/run the script at al. A small example of what I try to do;

Memory usage for multiple tabs pointing to the same module

I am creating a lightweight Shiny app in R using modules. I have a requirement that that I can access the same ‘page’ (or more accurately the same module) using multiple tabs. The REPREX below shows this idea in practice. In this case there are 3 tabs each with a uiOutput with a unique identifier, but they all link to a module with a single id. My question relates to how this affects memory usage. Is this creating three instances of the module (1 in each uiOutput) or do the uiOutputs just all point to single object? If the former, then I would probably implement the module using a conditional panel, but if the latter then this is a workable and scalable solution.

Can I download the full content of a mainPanel or other ShinyApp panel as an HTML file?

I am currently building a ShinyApp. It has many tabPanels that can be used to generate various plots and tables.
I also have a Report tabPanel. Here, plots and tables generated on other tabPanels can be added sequentially.
I would like to be able to download the entire contents of the Report main panel with the click of a button. Is this possible? A pre-built module? Unfortunately, I have not found one.