.Rprofile that prevents using linxubrew paths, which breaks compilation.
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
|# R should not use the linuxbrew paths.|
|# this laborious workaround prevents that|
|.pth = Sys.getenv("PATH")|
|.pths = unlist(strsplit(.pth, ":"))|
|.nbrewpthi = as.vector(unlist(lapply(.pths, function (x) !grepl("brew", x))))|