Skip to content

Long Initialization time due to large number of ui.input_selectize options #1789

@hwismer

Description

@hwismer

Hello, I'm creating a shiny app to create an interface for biological data. For many of the pages I have, the user needs to select from a complete list of genes from the dataset which contains about 58,000 genes total. I can't really narrow down or have the user select other options to narrow down the gene list since the user could be interesting in any of the genes.

The problem is that this many input_selectize options makes the app take a couple of minutes to start up every time. Curious as to whether there is anything I can do to speed up initialization or potentially pre-render the UI to avoid this initializing every time? I'm self-hosting the app on shiny-server too if that makes any difference (hardware doesn't seem to be the bottleneck here). Any input or ideas would be greatly appreciated! Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions