RStudio

Environment Variables in RStudio on Mac

I recently asked a question on Stack Overflow on the best way to set environment variables on a Mac for use within an RStudio session. It wasn’t as straightforward as I would have thought, so I wanted to share this quick post as a way to remind my future self of a quick way to solve the issue. Overview Generally, you can set environment variables by: export YOUR_VAR=abc123 within a terminal.