In RStudio, select Global Options from the Tools drop-down menu to make the following seven changes on three tabs.
Tools will be on your home screen on your laptop at the top, furthest to the right. I was trying to find "Tools" for the longest time in RStudio.