-
I'm running this I know I installed these packages, so I think they're not being installed from their actual location?
Is there a way to reference the package's location when loading the package with
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Try setting the library path in an R environment file. Check the contents of your
This will show you if there's already a set library location. If that file doesn't exist, create it and then add this to it:
I'm not entirely sure if that will be recursive or not. You may have to update it to be:
|
Beta Was this translation helpful? Give feedback.
Try setting the library path in an R environment file.
Check the contents of your
.Renviron
file:cat ~/.Renviron
This will show you if there's already a set library location. If that file doesn't exist, create it and then add this to it:
R_LIBS="/gscratch/home/yaaminiv/R/"
I'm not entirely sure if that will be recursive or not. You may have to update it to be:
R_LIBS="/gscratch/home/yaaminiv/R/x86_64-pc-linux-gnu-library/3.6/"