-
Notifications
You must be signed in to change notification settings - Fork 17
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
Unable to Select directory under Make input files for MLWIC2 #20
Comments
More info When I go back to the R console and click escape this is what I see. NOTE: When selecting directories, you can only navigate in the top half of the screen.
Loading required package: shiny Listening on http://127.0.0.1:6017 The message about selecting and navigating in the top half of screen may be part of it, but on my screen the Select button is visible and clickable, and the top half of the screen really only let's me Create a new directory (I'm not even sure that works) or sort content or click on the pencil icon or select other root directories on my computer. There is also the refresh button. I can see no way to select a directory in either the top or bottom half of the menu window. |
Sounds like the same issue described here. Try changing line 18 of MLWIC2/inst/shiny-apps/make_input/server.R from: shinyFiles::shinyFileChoose(input, "input_file", roots=volumes, session=session, filetypes=c('txt', 'csv')) to (added parentheses after shinyFiles::shinyFileChoose(input, "input_file", roots=volumes(), session=session, filetypes=c('txt', 'csv')) and see if that works. |
I will try that thanks.
…On Mon, Feb 15, 2021, 4:02 PM Eric Newkirk ***@***.***> wrote:
Sounds like the same issue described here
<#12>.
Try changing line 18 of MLWIC2/inst/shiny-apps/make_input/server.R
<https://github.com/mikeyEcology/MLWIC2/blob/master/inst/shiny-apps/make_input/server.R>
from:
shinyFiles::shinyFileChoose(input, "input_file", roots=volumes, session=session, filetypes=c('txt', 'csv'))
to (added parentheses after volumes):
shinyFiles::shinyFileChoose(input, "input_file", roots=volumes(), session=session, filetypes=c('txt', 'csv'))
and see if that works.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#20 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADTW5MNWMTVZ532S5Z5DUU3S7GY2PANCNFSM4TQ6GSWA>
.
|
When I type the command MLWIC2::runShiny('make_input') the menu from 127.0.0.1:xxxx loads. I can pick my option, in this case 4; however when I click the button "Directory to store Input file" and select a folder the menu goes gray and doesn't actually select anything. Oddly enough if I leave the Option number set to 1 I can select a directory.
The other thing is you cannot click on a folder and browse down into sub folders. Once you attempt to browse down into a folder, or get out by clicking Select, if you go back in the directory structure will not show.
Not sure what I'm doing wrong, but I can't get it to work. I'm running on a Windows 10 machine.
The menus under MLWIC2::runShiny('setup') worked fine. Thanks in advance to anyone who can help.
The text was updated successfully, but these errors were encountered: