Rstudio server path isn't picking up linuxbrew dependencies?

Solution

I figured out the solution: Sys.setenv(PATH = paste0("/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:", old_path)). Where old_path <- Sys.getenv("PATH")

Reference

I got inspiration from this link

Caveat

If there is a better way, please let me know, but this works :slight_smile: