Questions tagged [flexdashboard]
An Easy interactive dashboards for R.
838
questions
0
votes
0
answers
30
views
r flexdashboard - using opt_interactive with gt
Following code works fine until I add opt_interactive to add filters on top of all the columns of the dataframe.
For some reason opt_interactive doesn't work with tab_style. i.e. if I remove either ...
0
votes
0
answers
45
views
How can I add a download csv button from a reactive renderTable() in shiny?
I am brand new to shiny apps in R. I have made a working reactive dashboard with the final output being a table created using renderTable(). The current markdown file is as follows:
---
title: "...
0
votes
0
answers
20
views
Object input not found - R flexdashboard
I am having some issues making a dashboard with flexdashboard and shiny in R. The idea is plotting the data based on a filter that I run before plotting using the tidyverse library.
I have problems ...
0
votes
1
answer
20
views
R Markdown flexdashboard shiny leaflet app
I'm trying to create an interactive leaflet map dashboard using R markdown and shiny runtime. I need to select multiple values from two fields based on which my map will draw. This works so far, but I ...
0
votes
1
answer
17
views
R shiny change showNotifcation font
How can I change the font of a notification in flexdashboard? I have notifications re: bringing in data, cleaning data, then generating a js table. I want to let the users know what's going on at each ...
0
votes
0
answers
15
views
Can't find R packages installed through Dockerfile when I try to run Docker image
I'm new to Docker. I'm trying to dockerize a Shiny Flexdashboard. Below is my Dockerfile.
FROM rocker/shiny
RUN apt-get update -qq && apt-get -y --no-install-recommends install \
sudo \
...
1
vote
1
answer
25
views
How can I create a reactive table in a flexdashboard or Shiny app, where the table output depends on the selected item in a drop-down list?
I am brand new to shiny apps/flexdashboard in R. I have a csv file that I would like to use to create a reactive dashboard. My aim is to have a drop down list on the left panel that, when an item is ...
1
vote
0
answers
34
views
Output flexdashboard with renderLeaflet to html
I have flexdashboard code that works when I run it within RStudio (using the "Run Document" button and viewing in RStudio's viewer - and also when clicking the "Open in Browser" ...
0
votes
0
answers
20
views
How to center subplot titles when using Plotly in Flex Dashboard
I'm trying to center the titles of the subplots in my Flex Dashboard. I've tried to change the margin parameter but it doesn't center the titles. I was curious if there was a better way to center the ...
1
vote
1
answer
71
views
R flexdashboard animation with 2 traces has issue with animation slider
This question is an extension to the question asked and answered here, where an animation with a factor level on the x-axis and the same factor level as the frame in the animation have the order of ...
1
vote
1
answer
50
views
plotly - map and plot with shared animation
My flexdashboard has 2 animated outputs - a map and a scatter plot, linked via the animation slider, which goes through the date stamps in the data. To link the animation, I'm using subplot with a ...
0
votes
0
answers
31
views
Automating addition of multiple child chunks to R Markdown (likely relating to apostrophes)
I am building a dashboard in Flexdashboard (based on R Markdown), which will eventually have many (around 50) pages, so would be very unwieldly in one file. To cope with this, I have decided to break ...
1
vote
1
answer
24
views
Changing the font of the *title* in flexdashboard Rmd file?
I'm trying to add custom css using a custom local font for flexdashboard but I can't for the life of me figure out how to change the title font, not the chart title, or the body, but the title itself. ...
0
votes
1
answer
42
views
plotly map with animation not rendering in R flexdashboard
I'm putting together a flexdashboard with spatial data collected over time. I want to have a user input for selection, and an animated map of the selected subset, showing coordinates by date.
The ...
0
votes
0
answers
9
views
How to group custom menu points dropdown menu in R/flexdashboard
I can add custom links to the menu using the navbar argument in flexdashboard::flex_dashboard(). There doesn't seem to be any build-in functionality group these custom links in a dropdown menu. Is ...
1
vote
0
answers
41
views
gganimate animation rendering twice in flexdashboard
I'm creating video animations using gganimate and I want to include these in a flexdashboard. The issue is that the animations are rendering twice when I knit the flexdashboard. The first animation is ...
0
votes
0
answers
31
views
Render multiple .RMD files into one output (R Flexdashboard)
I have multiple .Rmd flexdashboard files that all can be rendered fine into .html format. I want each of these flexdashboards to become a page in a final flexdashboard. Is this possible?
I also have ...
0
votes
0
answers
20
views
How can I create a selectable drop down list in the sidebar without a file/csv?
I am new to r-programming and recently completed the Google Analytics Course through my job. To complete the final part of the course (CAPSTONE) project, my company have decided to give us small ...
0
votes
1
answer
26
views
Shiny Interactive Components Not Loading in Flexdashboard
I'm trying to create a flexdashboard with some Shiny interactive components, but my Shiny components are not loading as expected. When I directly "Run Document" the flexdashboard with Shiny ...
0
votes
1
answer
42
views
How to include external css file of a shiny app into flexdashboard
How can I include a external css of a shiny app into the flexdashboard. I have tried putting css file in the YAML header but that didn't work
The style.css is inside www directory
style.css
```
p{
...
0
votes
0
answers
39
views
Why I do not get a full page datatable in flexdashboard?
I am trying to get a full page display of data in flexdashboard. I have followed one of the stackoverflow suggestions yet cannot find the link, will add the code here:
<style>
....
0
votes
0
answers
24
views
flexdashboard html file becomes extremely large with icon
If i create an html file with flexdashboard and an icon, the file is about 4.5 mb.
If i only leave out the icon and everything else stays the same, the size of the html file decreases to 0.7 mb. how ...
0
votes
0
answers
60
views
Dependent crosstalk filters in R flexdashboard
I have created a reactable with crosstalk filters in Flexdashboard. Is there a way to establish a dependency between the two filters without including shiny?
title: "test"
output:
...
1
vote
0
answers
62
views
Rpivotable - Plotly chart renderers
I have created a pivot table in flexdashboard using a code similar to the following:
rpivotTable(Titanic, rows = c("Survived"), cols = c("Sex"), width="100%", ...
0
votes
0
answers
25
views
R FlexDashboard Panel Horizontal Size
I'm working on a flex dashboard app, and when using geom_point, the graph seems to narrow.
Is there any way to make it wider? Fit full screen?
Here is the code:
eigpm %>% clean_names() %>%
...
1
vote
1
answer
87
views
Specify the order in which columns are hidden in DataTables in R
Context
When making an interactive table using the DataTables library, columns are hidden under a green + sign when the screen width becomes too narrow for the number and width of columns. As the ...
0
votes
0
answers
56
views
Interactive filter for highcharter plots on flexdashboard WITHOUT shiny
I need a solution to create a flexdashboard (in R) with live filtering (i.e. my coworker can select "Hospital A" from a dropdown menu and the dashboard will populate with Hospital A's data, ...
0
votes
0
answers
36
views
Error publishing flexdashboard as shiny app in R
I want to publish dashboard (flexdashboard) in shinyapp.io (R) but i constantly get the error:
"Error detecting locale: Error in make.names(col.names, unique = TRUE): invalid multibyte string 3
(...
0
votes
1
answer
30
views
How to iterate over individual and merged values in an R for loop function?
I am producing reports across a number of individual departments using a for loop similar to the below:
report_loop <- function() {
pacman::p_load(tidyverse)
df1 <- data.frame(Dept = c(...
0
votes
0
answers
18
views
Knit Flexdashboard and exporting the used libraries to a different folder
I think it's easier to explain what I need while giving you another example.
It is possible to export plotly graphs in R and saving the used libraries to a different folder using e.g. htmlwdigets::...
1
vote
0
answers
20
views
Rmarkdown, ggplotly + flexdashboard: problems with geom_vline
I'm designing an flexdashboard output using ggplotly with geom_vline. With the next code, I can view the plot as I need:
library(openair)
library(tidyverse)
library(plotly)
aq <- importAURN(site = ...
0
votes
1
answer
48
views
Can I print the date object into the flexdashboard title?
I do not know whether there is a way to print a date object that appears into one of the '''r ''' chuncks in flexdashboard.
this is the flexdashboard title:
---
title: 'r param$title
output:
...
0
votes
0
answers
23
views
Have flexdashboard knit to another file directory
I am working with the flexdashboard package in R. I would like to have the rmd file knit to another file directory - one that is different from where the RMD is stored.
I tried creating an R script ...
0
votes
0
answers
9
views
Flexdashboard relaunches my shiny app during resize. All inputs are lost. Is there a way to completely remove the relaunching functionality?......_
Flexdashboard and or underlying libraries cause the app to relaunch obliterating any inputs the user may have entered when the app is resized. This is likely do to mobile functionality but is a non-...
0
votes
1
answer
85
views
Adding two dataTables in bslib/shiny tabpanel in Flexdashboard
I am trying to add two datatables to either a Shiny tabsetPanel or a bslib navs_tab_card within a flexdashboard 'card', but I have found that while the first table renders correctly, the second does ...
0
votes
0
answers
32
views
Assign an id to a specific tabset in flexdashboard (Shiny)
I would like to access the active tabset (not tab) in a flexdashboard for Shiny.
I found here the answer providing the JS code creating an input variable with the tab id, but I would like to have it ...
0
votes
0
answers
56
views
Nested/ cascading crosstalk filters in flexdashboard
I am trying to create "nested" (or cascading) filters using Flexdash and crosstalk. I would like to have two filters, "State", and "City", where the options for City are ...
0
votes
0
answers
80
views
Adding tabset to a specific column within a row, flexdashboard, R
I am looking to add a tabset to just one of the windows in my flexdashboard layout. Here is the basic layout of my dashboard:
---
title: "Untitled"
output:
flexdashboard::flex_dashboard:
...
2
votes
0
answers
33
views
Run specific code chunk when clicking on actionbutton
I'm trying to create a flexdashboard in R Markdown which runs a certain code chunk when clicking on an actionbutton. I.e. at the start of the dashboard, a questionnaire with radiobuttons appears, ...
0
votes
0
answers
46
views
When I use the data-navmenu in flexdashboard, the pages are opened under each other
I have 16 pages in my shiny app flexdashboard and It doesn't seem so good in the navigation bar if I want to show all of them, so I try using {data-navmenu=""} I separate my pages into 2 ...
0
votes
0
answers
144
views
how to create filters in rmarkdown and make dashboard built with rmarkdown interactive
i created a dashboard using rmarkdown. i cound not create a filter to make the graphs respond to the input selection pane so that it can be interactive. i need help to make the graphs respond to drop ...
0
votes
0
answers
51
views
How to split dataframe across tabs and apply crosstalk filters to all tabs in flexdashboard
I am trying to find a way to split my data into multiple tabs based on a column in the df (analyte) and apply the same filtering ability across all tabs. Below is an example of the figure and filter I'...
0
votes
0
answers
43
views
Generating an RMarkdown document on a schedule error saying missing Pandoc
I have a flexdashboard I have created when i have schedule to run once per week.
I have wrapped it in an R file called run-script
When i source the file within the RStudio IDE it works perfectly.
When ...
0
votes
0
answers
64
views
How to format color palette to react to flexdashboard filters without Shiny
I have an html-based leaflet map flexdashboard with filtering capabilities. Below is the code to generate the map, with an example of one of the filters. The color palette is based on a column of ...
1
vote
1
answer
58
views
Modifying R Markdown Flexdashboard to Generate Pages and Tabs for groups and subgroups
Question is based on the code proposed by @z-lin : Modifying R Markdown Flexdashboard to Generate Pages and Tabs for comparisons between pairs of vars using Purrr Loops and HTMLWidgets
In the original ...
0
votes
0
answers
43
views
Displaying images on clicking tabs in flexdashboard using renderimage
I took this code from stackoverflow In flexdashboard, can a valueBox be clicked to update a text box like an actionButton? (thank you!) and decided to tweak it to display images instead of text on ...
0
votes
0
answers
48
views
Is there a way to use linked filters in a flexdashboard in R? (without shiny)
I'm trying to use linked filters in an R flexdashboard. I can't use RShiny due to GDPR.
I'm hoping to create the following filters:
country
city
borough
street
Where each filter will link to the ...
0
votes
0
answers
35
views
How do I put a dropdown or selectInput in a single cell of a flexdashboard datatable?
I have a similar issue which is described on this page: https://github.com/rstudio/DT/issues/673.
I have a flexdashboard with a datatableOutput with editable cells. In only one column I would like to ...
0
votes
0
answers
27
views
How to add tabs on elements of flexdashboard (but not to the whole row or column)?
I am trying to generate a dashbord in which some of the elements will have individual tabs. I get that you can split the content into tabs with the {.tabset} attribute, but doing so applies tabs to ...