I have tried to solve this issue for some time now and I couldn't figure out why!
I am an absolute beginner so please be patient with me.
I reinstalled R and Rstudio.
First issue, when the code runs in the console but when I click knit, it gives me
Do I need to install Rtools for this?