Skip to main content

All Questions

Tagged with
0 votes
0 answers
27 views

How to have a ReactShinyInput inside a ReactShinyWidget?

I have just started playing with the reactR package in the hope of having React elements usable with Shiny R. I have got project with the scaffoldReactWidget function setup and working quite nicely so ...
Pavel Khokhlov's user avatar
0 votes
1 answer
31 views

appendContent can't be used in a Shiny render call

The funciton addSearchGoogle from leaflet.extras is throwing this error in a Shiny-app: Warning in renderWidget(instance) : Ignoring appended content; appendContent can't be used in a Shiny render ...
SeGa's user avatar
  • 9,719
0 votes
1 answer
51 views

Saving svg generated in shiny

I am trying to save an .svg that I generate inside a shiny app using htmltools (MRE below). This requires adding the svg namespace to the svg tag with xmlns:xlink="http://www.w3.org/1999/xlink&...
smartse's user avatar
  • 1,295
0 votes
1 answer
179 views

R Shiny Add Icon To tag$button

I'm trying to render a table in R Shiny that has a name, file, or url with a download button column that opens a new tab based on the data in the row. I'm unable to have the htmltools tag show an icon ...
Curtis's user avatar
  • 181
0 votes
1 answer
78 views

Shiny reactable list object in tags$button on click

So I have a situation where I would like to use an object in a tag$button(). This is to work around the fact that the columns may change. It works on the first click and then stops working and the ...
A-A-ron's user avatar
  • 27
0 votes
1 answer
331 views

How to evaluate a list of cards in bslib::layout_column_wrap?

I am trying to display a list of cards in a 2d grid using the function bslib::layout_column_wrap(). However, I get a 1d grid with the cards positioned in one column instead of multiple columns. See a ...
Gion Mors's user avatar
  • 295
3 votes
1 answer
417 views

How to display a SVG image in shiny

I would like to display in my web application an SVG image that I have hosted in the images folder. First I tried to display it with a tag but it didn't work: ui <- fluidPage( tags$img(src = &...
Wardiam's user avatar
  • 177
0 votes
1 answer
365 views

How do I attach a CSS dependency to my Shiny app with htmlDependency() and tagList() from htmltools

I'm trying to attach a custom css stylesheet to style my shiny app. However I haven't had much success. I know that there is many ways to do it, but according to chapter 4 of Outstanding UI with Shiny ...
data_science_newbie's user avatar
1 vote
1 answer
576 views

How to add an icon in front of specific column name of reactable

R Gurus, I am struggling with a unique problem with adding an icon in front of certain column names in a reactable. library(htmltools) library(dplyr) library(tippy) data <- as_tibble(mtcars[1:6, ],...
M.Qasim's user avatar
  • 1,867
0 votes
1 answer
294 views

How to generate simple html table using Shiny and R without using renderTable function?

I'm really new to R/Shiny, I'm working on a project and I'm having a problem. Indeed, according to what I learned on the documentation, the renderTable function makes it possible to generate a ...
armel sauvy's user avatar
1 vote
1 answer
301 views

Shiny Leaflet Slow with HTML Labels

I'm building a shiny app with a leaflet map that updates based on user selection. When I got to working on the labels for shiny, I noticed my performance dropped upon hitting my action button to ...
Spruce's user avatar
  • 13
0 votes
1 answer
398 views

Change column header color

I have a Shiny app that displays a DT table. I would like to be able to change the color of the column headers (not the column header text color) from black to something else say #34a8eb. I tried the ...
Ed_Gravy's user avatar
  • 1,995
1 vote
0 answers
87 views

Add dependencies of shinydashboardplus in shiny

Below is the code for shiny app that I am using. shiny::shinyApp(fluidPage( # Give the page a title titlePanel("Telephones by region"), # Generate a row with a sidebar ...
Williams86's user avatar
1 vote
1 answer
1k views

How to align and draw borders on complex header for datatable in R shiny?

I am using the container to create the header using the example from here. I am looking to center align the 'Overall' and 'In-patient' header. I tried adding the align = 'left' parameter in th ...
sutsabs's user avatar
  • 455
3 votes
1 answer
642 views

Shiny app as function, where to put www/ folder, CSS, JS

I am attempting to convert a relatively complex shiny app (3-4 modules, 8 CSS/JS files) into a package with one external function that builds an instance of an app for a given input (build_myApp(...
jatkins23's user avatar

15 30 50 per page