shinyFiles icon indicating copy to clipboard operation
shinyFiles copied to clipboard

crash with larger disks?

Open ptenax opened this issue 4 years ago • 3 comments

Thanks for your work on shinyFiles. I am using two steps in my shiny app that allow users to select a folder with relevant files. The app is unstable, and I am wondering if shinyFiles is the source. The app crashes on some occasions but not others if I use the folder-select pop-up window. If I wait too long to choose my file, there is a crash. My computer has a 2TB SSD where all the files are located. Could shinyFiles be affected by large disks? R ver 3.6.3, all packages latest versions, R and RStudio current. Crashes occur in both R and RStudio. Thanks.

ptenax avatar Apr 21 '20 15:04 ptenax

@ptenax. Seems unlikely but without additional information about error messages either in R(studio) or your web-browser's developer log there is no way to know for sure. FYI I also have a 2TB SSD drive in my macOS computer and have no issues. I also use shinyFiles in a large app that is used by 1,000s of students each year and have not heard of any issue. If you can provide more information (errors?) I can investigate.

vnijs avatar Apr 21 '20 20:04 vnijs

Thanks for your reply Vincent. The only error in RStudio is at the bottom of this comment, and I am not sure that is relevant. My colleague said to inform you that the popup dialog window is rendered server-side. The crash seems to be time-related. If I wait too long to make a selection in the folder-choice pop-up window, the app crashes - in both RStudio and R with Firefox. My colleague did not see this behaviour on his computer. I am running Windows 10, and updated R software and packages. For troubleshooting, it might be too complicated to explain here what the app does, but the crash of the pop-up folder selector definitely crashes if too much time has elapsed. I might have to leave it there if that is not a helpful clue... Thanks. Kyle

Warning: Error in dir_map: SET_VECTOR_ELT() can only be applied to a 'list', not a 'builtin'

ptenax avatar Apr 22 '20 09:04 ptenax

"My colleague said to inform you that the popup dialog window is rendered server-side." Are you running the app on a server? If so, please provide more information about that setup.

FYI I have the folder select popup for shinyFiles 0.8 on Windows 10 open for several hours now without any issues. Can you try to replicate the issue with the command below from R(studio)?

shinyFiles::shinyFilesExample()

vnijs avatar Apr 22 '20 23:04 vnijs