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

Add command to run a packaged Shiny app as a gadget #66

Open
gadenbuie opened this issue Jul 11, 2024 · 0 comments
Open

Add command to run a packaged Shiny app as a gadget #66

gadenbuie opened this issue Jul 11, 2024 · 0 comments

Comments

@gadenbuie
Copy link
Collaborator

This could be used to enable Shiny-based gadget apps that could be run as shortcuts. Here's a sketch of a shortcut to run the chattr R app.

    {
        "key": "cmd+k cmd+c",
        "command": "shiny.r.runApp.code",
		"name": "Chat with chattr",
        "args": {
            "langId": "r",
            "code": "chattr::chattr_app()"
        }
    },

The app would start up in a named terminal and the app would open in a simple browser window so that it could be moved around among the editor panes.

We should follow progress in posit-dev/positron#3173, if we can use multi-session support in Positron, that would improve the utility via hooks available in rstudioapi.

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

1 participant