Questions tagged [shinyscreenshot]

11 questions
2
votes
1 answer

How to copy screenshot to png from a html_widget

Follow-up question to this R Shiny: Vtree plot not rendering with Shiny With this code I generate a vtree htmlwidget. I would like to take a screenshot and save it in png. For this I use shinyscreenshot. But I only get a screenshot of all the rest…
TarJae
  • 72,363
  • 6
  • 19
  • 66
1
vote
1 answer

shiny screenshot appears with colorless legend

In shiny the ggplotly visual looks like: If I create a screenshot with shinyscreenshot it appears with a colorless legend: Is there any way to solve this issue? Update 12:04 It seems that this issues only appears with colorbars. With factorized…
Marco_CH
  • 3,243
  • 8
  • 25
1
vote
1 answer

screenshotButton() does not render styleColorBar from formatStyle on Shiny

When I want to take a screenshot of a Shiny page using the shinyscreenshot library, the ColorBar style does not appear in the screen. Minimum reproducible example: library(shiny) library(shinyscreenshot) shinyApp(ui =…
Juliette
  • 71
  • 5
1
vote
1 answer

Take screenshot of specific plot in a shiny app

How do I take a screenshot of a specific plotly chart in a shiny app and not the whole UI? library(shiny) library(shinyscreenshot) library(plotly) ui <- fluidPage( plotlyOutput("plot"), actionButton("go", "Take a screenshot") ) server <-…
firmo23
  • 7,490
  • 2
  • 38
  • 114
0
votes
1 answer

Is there a way to update the css selector within the shiny screenshotButton as there's choices selected in pickerInput?

I'm using shiny library(shinyscreenshot). I have a datatable within a tabBox and would like the user to be able to download a screenshot of the datatable with a specific div id that changes based on the pickerInput. I've noticed, after I select…
ryut
  • 13
  • 3
0
votes
1 answer

Can't take a screenshot from a shiny app with background image to use it as a report

I have this simplified app: library(shiny) library(shinyWidgets) library(shinyscreenshot) library(capture) my_ids <- LETTERS[1:13] ui <- fluidPage( #background image tags$img( src =…
TarJae
  • 72,363
  • 6
  • 19
  • 66
0
votes
2 answers

Shiny Screenshot without the side bar menu

Do you know if it's possible to screenshot all my shiny app without the side bar menu ? I've tried "selector = #nameofmytabItem" but it don't success. Here is my actual code : observeEvent(input$screenshot, { screenshot( selector =…
0
votes
1 answer

shiny: gt tables with shinyscreenshot: numeric columns get cropped

I'm trying to use {{gt}} in conjunction with {{shinyscreenshot}}. The resulting screenshot seems to crop numeric columns: Is this due to rendering in the gt package or caused by shinyscreenshot and how can this be…
eule83
  • 25
  • 7
0
votes
1 answer

Taking screenshot in Shiny App in R not working

I am trying to take a screenshot of my shiny app. Everything is fine when I have just plots. But when I add a video, it just not working. I have the plots ok, but video area its just empty. This is my…
Laura
  • 675
  • 10
  • 32
0
votes
1 answer

Shinyscreenshot captures only a part of selected svg file in a shiny app

I have the shiny app below from which I ant to take a screenshot of the svg file but it captures only the upper corner of it. library(shiny) library(DiagrammeR) library(tidyverse) # probably don't need all of…
firmo23
  • 7,490
  • 2
  • 38
  • 114
0
votes
1 answer

Is there a way to save screenshots of a R Shiny app to the root directory with {capture} package instead of downloading?

I have a shiny app that generates a wordcloud using the package wordcloud2. I am using the capture package to take a screenshot of the wordcloud. I have also tried other similar packages such as shinyscreenshot and snapper. They all provide a way to…