-
Notifications
You must be signed in to change notification settings - Fork 220
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
Unhelpful error message when using install.packages
#1512
Comments
Update: I guess Tcl is required for R to automatically pick a mirror. (I am new to R) |
Installing Tcl from conda-forge fixed the issue. |
Unless there was a change in the Anaconda distribution that fixes this problem, this bug report was closed prematurely. First, installing a third-party package, especially one that replaces functionality in the base Anaconda distribution, is a workaround at best. Second, the proposed solution given appears to have been misstated, since there does not appear to be a "tcl" package in the conda-forge channel. Rather, there are several packages, such as Eumetsat/tcl, intel/tcl, etc., in various repositories. As one might have guessed, I've stumbled upon the same problem as Juanlu001, but in my case, there already is an installation of Tcl/Tk, from the "tk" package in the regular Anaconda distribution. Also, my environment is a clone of the root environment. So far, the least worst solution has been to set the environment variable TCL_LIBRARY to the relevant part of the installation of Tcl that I already have, which for me is in "$HOME/.conda/envs/local/lib/tcl8.5". |
Hi @Juanlu001 and @jjramsey Since that, R stopped working properly. Now I'm not able to install packages anymore.
Do you guys have any suggestion on how to solve this problem? Thanks! |
@davidechicco looks like a problem with your Other than that, I agree with @jjramsey that this issue deserves more attention. |
Hi @Juanlu001 I tried to run My original R installation is in This is my current
You can see the Miniconda installer at the bottom. What do you suggest me to do? How to edit my bashrc file? Thanks! |
A colleague helped me and told me that the problem is in the PATH: the
Now the system correctly finds the /usr/bin/R by default and the problem is solved! |
When trying to install R packages in a newly created environment, the prompt complains about tcl not being available.
This has already been reported in other places:
However, when specifying an R mirror, everything works as expected:
I guess I don't need to do anything special with Tcl now but I am not sure.
The text was updated successfully, but these errors were encountered: