just one plot appears in the shiny application not all
0
0
Entering edit mode
20 months ago
mrashad ▴ 80

Dears, I have a source code that produces several plots and csv files. Outside the shiny application this function is worked, but once used inside the shiny application, it produces just one plot, not all plots.

Could you guide me to identify the problem and how to handle it?

Here is a part of the code:

output$PCA_plots <- renderPlot({

req(input$Begin)  #begin in the label of an action button
PCA_plot = first_container(Count_data(), meta_data()) # first container is the function that takes 2 files counts data and metadata and produces plots and tables, PCA_plot is a list of groups of plots
map(PCA_plot,function(p_list){
  HTML(paste(p_list),width = 3, height = 3)
  print(p_list)
})
plot source shiny code • 634 views
ADD COMMENT
1
Entering edit mode

There's nowhere near enough information/code here for us to know why only one of your many plots aren't showing up. Can you provide a reproducible example?

ADD REPLY

Login before adding your answer.

Traffic: 2392 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6