Skip to content

Reference R package location when loading on mox #1187

Answered by kubu4
yaaminiv asked this question in Q&A
Discussion options

You must be logged in to vote

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/"

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@kubu4
Comment options

@yaaminiv
Comment options

yaaminiv Apr 22, 2021
Collaborator Author

@kubu4
Comment options

Answer selected by yaaminiv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants