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

miniconda_path does not substitute $USER #1513

Closed
nschan opened this issue Dec 12, 2023 · 1 comment · Fixed by #1514
Closed

miniconda_path does not substitute $USER #1513

nschan opened this issue Dec 12, 2023 · 1 comment · Fixed by #1514

Comments

@nschan
Copy link

nschan commented Dec 12, 2023

Hello,

I ran noticed a minor issue: reticulate::miniconda_path() is not substituting $USER for the actual username. I have set XDG_DATA_HOME on an RStudio server to point to a directory like /mnt/storage/rstudio/$USER. When using reticulate the miniconda_path is returned as "/mnt/storage/rstudio/$USER/r-miniconda", which is not what I would expect to happed. Is there a better way to set XDG_DATA_HOME so the variable gets substituted?
I am running RStudio server on debian12 and set XDG_DATA_HOME using sudo systemctl edit rstudio-server.

@t-kalinowski
Copy link
Member

Thank you for reporting! This is now fixed in the development version of reticulate. You can install with the R command:

remotes::install_github("rstudio/reticulate")

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

Successfully merging a pull request may close this issue.

2 participants