-
Notifications
You must be signed in to change notification settings - Fork 28
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
cannot install units in rstudio despite possible from the regular R console #219
Comments
Sorry, but then the issue has nothing to do with units. RStudio doesn't find the system library path for some reason, maybe a misconfiguration or maybe you are running RStudio from some kind of container? I suggest you to check your configuration or otherwise ask for help in the RStudio community forums. |
Do you have the udunits (system) library installed more than once on your system? |
@Enchufa2 ah OK sorry. Yes maybe a misconfiguration of some sort indeed. No I'm running Rstudio from my OS (manjaro). |
Yes, they will interfere; we've seen identical problems caused by this (other package, other libraries). |
OK, so I removed all the udunits files and folders from everywhere on my laptop (OS and conda env) and rebuild a clean version of the udunits lib from the sources. However this did not fix my problem (i.e. |
Not necessarily. The thing is that only programs that are run in the conda environment will see libraries installed with conda (probably that's the case for R, but not for RStudio). On the other hand, if you install the library from the sources, you will get a non-standard prefix (e.g., /usr/local) if you don't change it, which is not supported by R by default. |
See a longer thread partially about multiple libs here. |
Hi,
I successfully managed to install
units
from the regular R console:but when I try to install
units
from rstudio, it does not work with the following error:If I first install units from the R console then try to load it into rstudio, it does not work either with the following (same) error:
Any suggestion? Thanks in advance.
The text was updated successfully, but these errors were encountered: