GeneTonic
GeneTonic copied to clipboard
Making standalone Desktop app from GeneTonic
Hi all,
Not so much an issue, but a heads-up that I am experimenting with making a standalone desktop app from GeneTonic using "Electron". People have used this approach to distribute Shiny apps previously without having to setup a Shiny server etc.
e.g. https://towardsdev.com/converting-a-shiny-app-into-a-standalone-desktop-app-for-windows-ca3656da8468
I don't know if it's common knowledge that Shiny apps can be packaged in this way? Would people be interested in hearing more once I get a working version?
Hey there Mark, long time no hear/see, I hope all is good in Sheffield!
That sounds like an interesting approach, I recall there were some facilities to do this transition - some foggy memory of a useR! presentation. That is: would not be new, but I did not see it that often.
FWIW: the recent release version has now the function to upload the dataset as GeneTonicList (as rds object) directly at runtime, maybe that can save you and your colleagues some trouble?
Otherwise: we'll be happy to link it in the documentation, to point out that there's an alternative way of enjoying the package!
Cheers, Federico
Ah, yes that recent development in GeneTonic would indeed make my like easier!
Cheers,
Mark
Glad it could help!
This was actually a wish someone had in https://github.com/federicomarini/GeneTonic/issues/25
... which I guess can now be safely closed.
hi @federicomarini
Is there a GeneTonic_serveredition - something like https://github.com/federicomarini/pcaExplorer_serveredition
Thanks
Hi @tamuanand - see the conversation above.
Since GeneTonic can accept the objects at runtime as well, it is a simple thing to do to create a "separate" app.R file and put that as the content of a folder you can use in a Shiny Server context.
Pretty much like what you see here: https://github.com/federicomarini/pcaExplorer_serveredition/blob/master/app.R
library("GeneTonic")
GeneTonic(size_gtl = 100) # if you want to allow people to upload large files
HTH, Federico