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

Having a reference to the result of DominoDataR::datasource_client() and then restarting R triggers reticulate to ask for miniconda installation #17

Open
daattali opened this issue May 4, 2023 · 2 comments

Comments

@daattali
Copy link
Contributor

daattali commented May 4, 2023

On a personal Domino deployment version 5.5.2, I create a new RStudio workspace. The workspace comes pre installed with {DominoDataR} 0.2.1

If I run the command client <- DominoDataR::datasource_client() and then restart RStudio, I get a message

No non-system installation of Python could be found.
Would you like to download and install Miniconda?
Miniconda is an open source environment management system for Python.
See https://docs.conda.io/en/latest/miniconda.html for more details.

Would you like to install Miniconda? [Y/n]: 

This does not happen if I remove the variable before restarting the session, or if I run DominoDataR::datasource_client() without saving it to a variable.

Example session:

> client <- DominoDataR::datasource_client()
> rm(client)

Restarting R session...

> client <- DominoDataR::datasource_client()
> rm(client)

Restarting R session...

> client <- DominoDataR::datasource_client()

Restarting R session...

No non-system installation of Python could be found.
Would you like to download and install Miniconda?
Miniconda is an open source environment management system for Python.
See https://docs.conda.io/en/latest/miniconda.html for more details.

Would you like to install Miniconda? [Y/n]: 
@daattali
Copy link
Contributor Author

daattali commented May 8, 2023

Trying to approach it a different way until this is solved, by asking RStudio to let us suppress this rstudio/reticulate#710

@daattali
Copy link
Contributor Author

Looks like it might be fixed in RStudio in the next release rstudio/rstudio#13109

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