Created
June 5, 2014 20:34
-
-
Save lcolladotor/2052a9dfc6f3e4726cfc to your computer and use it in GitHub Desktop.
Cluster R profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Fix libpath for R 3.1.x | |
if(commandArgs()[1] == "/jhpce/shared/community/compiler/gcc/4.4.7/R/3.1.x/lib64/R/bin/exec/R") { | |
dir.create("~/R/x86_64-unknown-linux-gnu-library/3.1.x", showWarnings=FALSE, recursive=TRUE) | |
message("Using the following user library: ~/R/x86_64-unknown-linux-gnu-library/3.1.x") | |
.libPaths(c("~/R/x86_64-unknown-linux-gnu-library/3.1.x", "/jhpce/shared/community/compiler/gcc/4.4.7/R/3.1.x/lib64/R/site-library", "/jhpce/shared/community/compiler/gcc/4.4.7/R/3.1.x/lib64/R/library")) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment