-
Notifications
You must be signed in to change notification settings - Fork 93
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
Interpreters in miniforge are not detected #3791
Comments
Sure, it's the following:
Perhaps conda R version is conflicting here, since R Extension found R v4.4 |
Positron detected R after uninstalling I have no issues with anaconda3 or pyenv, so I suspect it's related to miniforge3 |
I think this issue is worthwhile keeping open - might need a renaming though. To me the issue seems that Positron isn't supporting the For the Python interpreters, Positron uses the |
I also use miniforge3 so I agree that we should make Positron robust to discovering both R and Python environments originating out of conda-forge (even if they're installed in the base environment) |
Can you try installing R >= 4.2 on miniforge? I think the one currently installed doesn't show up because it's an unsupported version:
|
So your current installation is the miniforge R, which is unsupported because it's < 4.2. Then you have two other installations which are neither current nor orthogonal (which means they are not safe to run if not current), which were also discarded during discovery. Besides installing a newer version of R on miniforge, you can also make your other installations of R orthogonal by running
See https://github.com/r-lib/rig for how to install rig. This would at least allow Positron to run these other installations of R that meet the version requirement. We plan to make it easier to understand what's going on when an install of R is unsupported, see #1397 |
We've figured out that positron-r is behaving as intended here and, specifically, that we can discover an interpreter in miniforge. The problem is that the intersection of supported R installations (version >= 4.2) and "usable" installation (either the current version of R or a so-called orthogonal R installation) is the empty set right now on this user's system. |
Positron Version: 2024.06.1 (Universal) build 27 / OS: Darwin x64 23.4.0
Steps to reproduce the issue:
What did you expect to happen?
Identify R installation and activate the R interpreter, Since I have R 4.4.1 installed
Were there any error messages in the output or Developer Tools console?
There are no error messages in either output or console. I can only see Python interpreters:
The text was updated successfully, but these errors were encountered: