Closed py9mrg closed 6 years ago
Oh, hang on - just found the discussion about this in the closed issues. The repackaging doesn't work for me unfortunately - and I am using Chrome. Unable to change this as nearly everyone using the app will be using Chrome, and I don't want to enforce a change on them - so if I'm going to distribute apps, it needs to be able to work with Chrome. An error file is generated, but doesn't appear to show any:
Did you register a handler for session$onSessionEnded
with a call to
shiny::stopApp() in your server.R
file?
On Mon, Dec 4, 2017, 7:39 AM py9mrg notifications@github.com wrote:
Oh, hang on - just found the discussion about this in the closed issues. The repackaging doesn't work for me unfortunately - and I am using Chrome. Unable to change this as it's forced as the default by the company - so if I'm going to distribute apps, it needs to be able to work with Chrome. An error file is generated, but doesn't appear to show any:
error.log https://github.com/wleepang/DesktopDeployR/files/1527031/error.log
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wleepang/DesktopDeployR/issues/13#issuecomment-348950990, or mute the thread https://github.com/notifications/unsubscribe-auth/AAWEZvoUIkCoJh4vDpYXDPdvT0EMmBjBks5s8-gagaJpZM4Q0iA7 .
I hadn't until I found the closed issue. Weirdly, if I include that in the same manner, then I get a weird ghosted out browser window - but all the widgets work "underneath" it. If I don't include it then the window looks normal. Either way, the reopen problem exists with both. (I'm using the shiny ui and server files from their widgets example)
I'm thinking this might be a Chrome specific issue - but I'm far from a shiny expert (made 1 app a year ago!), or github, so I'm trying to learn both as I go along. I'm uploading my ui and server file (just changed to a .txt so it lets me) - and I've got a branch "FirstTrial" if you want to look at the rest on my profile. No worries if you can't sort it - thanks for looking anyway.
Sorry - I am being an idiot. When I added the stopApp() etc commands, I forgot to include session as an argument to the shinyServer function. Works fine now.
Hello,
Maybe I'm doing something stupid, but every time I run the app and then close the browser window - I cannot reopen the app. Batch file runs but nothing happens. I have found that I can get it to reopen only if I go to Task Manager and manually force the Rscript.exe process to stop. Am I doing something stupid!?
Thanks.