I need to load an example data on file upload menu (fileInput) with help of checkboxInput.If user is selected the example box some data have to load into fileInput How it is possible?
Wouldn't the point of example data be to use a dataset already loaded as an example to the environment, therefore bypassing file input all together? I think that's what most users would assume.
I dont see how the user will understand or learn anything from that..
but ok. I dont think you can guarantee that the client machine will have any particular file, so if you example file is server side that will require a shinyFiles::shinyFilesButton with shinyFiles::shinyFileChoose implementation. Also you will probably need to write some javascript to drive the shinyFilesButton.