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

Feature request: Access to Data Import and DB Connection dialogs from Shiny / Gadget #63

Open
vnijs opened this issue Sep 12, 2017 · 2 comments

Comments

@vnijs
Copy link

vnijs commented Sep 12, 2017

Related to: #27

Access to the Data Import dialog, Spark connection dialog, and (future) DB connection dialogs would also be wonderful

@vnijs
Copy link
Author

vnijs commented Sep 21, 2017

Alternatively, is it possible to access the connections history from a shiny app or gadget run in an Rstudio project?

@cjyetman
Copy link

Based on RStudio IDE Commands found here, one can use these to invoke the Import dialogs, though a file path cannot be specified...

rstudioapi::executeCommand("importDatasetFromCsvUsingBase")
rstudioapi::executeCommand("importDatasetFromCsvUsingReadr")
rstudioapi::executeCommand("importDatasetFromSAS")
rstudioapi::executeCommand("importDatasetFromSAV")
rstudioapi::executeCommand("importDatasetFromStata")
rstudioapi::executeCommand("importDatasetFromXLS")

# these don't appear to do anything
# rstudioapi::executeCommand("importDatasetFromCsv")
# rstudioapi::executeCommand("importDatasetFromFile")
# rstudioapi::executeCommand("importDatasetFromURL")

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

2 participants