Skip to content
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

Making standalone Desktop app from GeneTonic #37

Open
markdunning opened this issue Jun 14, 2022 · 5 comments
Open

Making standalone Desktop app from GeneTonic #37

markdunning opened this issue Jun 14, 2022 · 5 comments

Comments

@markdunning
Copy link

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?

@federicomarini
Copy link
Owner

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

@markdunning
Copy link
Author

Ah, yes that recent development in GeneTonic would indeed make my like easier!

Cheers,

Mark

@federicomarini
Copy link
Owner

Glad it could help!

This was actually a wish someone had in #25

... which I guess can now be safely closed.

@tamuanand
Copy link

hi @federicomarini

Is there a GeneTonic_serveredition - something like https://github.com/federicomarini/pcaExplorer_serveredition

Thanks

@federicomarini
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants