.libpath different in conda env vs. base

33 Views Asked by At

I have a conda environment set up and I'm struggling to get a package called r-harp installed. One of the things I'm exploring is the path where they are looking for libraries.

My libpath in my base computer looks like this:

> .libPaths() [1] "/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library"

This matches what I have in my .Renviron

However, I also have a conda environment set up called renv - when I check the .libpath in that environment, it looks like this:

> .libPaths() [1] "/Users/priyapatel/anaconda3/envs/renv/lib/R/library"

Where is it getting this path from / where is it being set? Where can I find that .Renviron file? I would like to modify it.

0

There are 0 best solutions below