I have found that even with the R package reticulate
, sometimes I run into a problem where an R package in my environment won't load. Or, the R package may not be available in the conda channels I'm using.
However, if I install the R package natively with install.packages
, R installs its own versions of many libraries I know I have already installed with conda.
Is there some combination of environment variables or some other way to ask R to fist check my conda library and then build against that?
I tried setting LD_LIBRARY_PATH
to conda/lib
, but that either did not reduce the problem or led to build errors.