Unique Paths between RStudio Notebook and (RStudio) Terminal



I have greatly enjoyed how easy it is to switch between bash and r commands while using Rstudio Notebook/RMarkdown.

However I have struggled because the path that is searched when I run a bash command from inside a Rstudio Notebook

echo $PATH

Is different than my path when I execute a command from the terminal (whether inside Rstudio or directly from my computer).

echo $PATH

Can someone please point me to a reference where I can learn how the path for Rstudio Notebook is created and where I can edit it.