Open darkwish121 opened 8 years ago
I am sorry, but I don't know how to help you here. Perhaps, stackoverflow is a better place for this kind of question, as it touches on shiny, shinyFiles as well.
I have also posted this issue in stackoverflow here is provided link. Can you please give me favor with install this script on your local and test in above conditions. Thanks
here is Gist
You can run it by shiny::runGist('f87cb4cefec777d7ef5733b1ebe7a830')
I believe this can be close. The gist is working.
I am creating an app in which multiple charts will dynamically build using R Shiny on base of CSV folder, selected using shinyFiles. I am facing problem with combination of renderGvis, renderUI and plotOutput.
CASE 1:
renderUI creates 5 divs using plotOutput. When trying to create charts with renderGvis, it DIDN'T CREATE charts and gives error in browser's console "TypeError: invalid 'in' operand a"
CASE 2:
renderUI creates 5 divs using htmlOutput. When trying to create charts with renderGvis, it CREATE charts but as soon as I click to choose a new folder it gives following error in browser's console "uncaught exception: Duplicate binding for ID plot1". Here problem is, it re-try to create 5 div which are already exists with same ids.
Here is code.
UR.r
Server.r