Shiny app: downloadHandler does not produce a file

前端 未结 3 1904
说谎
说谎 2020-12-01 14:45

I can\'t figure out what\'s going on - everything seems to work but my app does not generate a file - although it looks like it does. I run it in Windows, on RStudio 0.98.12

3条回答
  •  醉梦人生
    2020-12-01 15:00

    Adding to what Colin D said. It can just be that your idNAME is too long.

    I just tested on my app that THIS WORKS:

         output$download_mastergroup <- downloadHandler(...)   #server side
         downloadButton('download_mastergroup ', 'Download overview') #ui side
    

    and that THIS DOES NOT WORK:

         output$download_mastergroup_overview <- downloadHandler(...)   #server side
         downloadButton('download_mastergroup_overview ', 'Download overview') #ui side
    

    So, be concise and it will be allright!

提交回复
热议问题