I would like to import rpy2 to load R package
from rpy2.robjects.packages import importr
I have an error:
Unable to determine R library path: Command '(...Miniconda3\\lib\\R\\bin\\Rscript', '-e', 'cat(Sys.getenv("LD_LIBRARY_PATH"))')' returned non-zero exit status 1.
python can't find the right R path.