-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shinyFiles re-indexes folder contents slowing down performance. #140
Comments
I assume you are talking explicitly about the |
@vnijs @PhilipFaure – we are having the same issue for shinyDirChoose. Is there any plan to allow users to limit these previews, @vnijs? That may really help! Thanks |
I could add a |
Hi @vnijs, that would work, assuming it'll speed up the process? Thank you! |
Try the below and let me know if you see any issues:
|
The recent update unfortunately increases the computation time, it's taking even longer (~ 50% longer) to drill down into directories when max_files = 10, compared to the default. Just for clarity, when using shinyDirChoose, is the function indexing or caching the entire folder contents? Just trying to get an idea of why there is such a delay. Many thanks |
I see no reason why the changes in the commit linked below could increase computation time. I'm afraid you will have to dig into the |
Hi, just weighing in here, indeed for e.g. NFS mounted home directories things are painfully slow. |
Hi,
We are using your shinyFiles package extensively within an app we are developing. We really like shinyFiles, but we have one issue for which we can not find a work around. Often, users will be working with large hard drives (e.g. 4 Tb drives) and some folders on it may easily contain well over 200,000 images. With such folders, if an user clicks on or tries to open one of these folders using shinyFiles it dramatically slows down. The app we are developing is run using a containerised instance.
My question is whether there is a way to stop shinyFiles from indexing all the files in the content viewer panel, or some other way to speed it up? Perhaps can the viewer be turned off somehow to speed up performance, would that work?
I’ve looked extensively on stackoverflow and other sites for anyone else reporting a similar issue, but with no success.
Thank you in advance for your time,
Best Wishes,
Philip
The text was updated successfully, but these errors were encountered: