Question
How do I link my Rtools installation to Rstudio?
Answer
1. Open Windows Search by pressing Windows + S keys simultaneously.

2. In the Search box, type Notepad

3. In the Notepad editor window, enter Path text.
Example for Rtools 4.5 under user TrumanT: PATH="C:\Users\trumant\Rtools45\usr\bin;${PATH}"

4. Select "Save as".

5. Save file as .Renviron in the user's Documents folder
Example: C:\Users\trumant\Documents\.Renviron
a. Ensure Documents is the current selected folder
b. Ensure .Renviron is the file name with no extension
c. Ensure the Save as type is All files (*.*)
d. Select Save

6. Verify folder, filename, and file type with no extension
Example: C:\Users\trumant\Documents\.Renviron
a. Verify Documents is the current folder
b. Verify filename is .Renviron with no extenstion
c. Verify extension type is RENVIRON file

7. Ensure Rstudio is linked to Rtools by following instructions in the below article.