I have the RMarkdown package installed, even though I read that RStudio (4.0.2) installs it and loads it anyway.
I run my chunks and everything works fine, but when I come to knit, R opens the RMarkdown console, with this error, even though I can see it's installed.
I have found similar questions about this error with other packages, but RMarkdown is critical to the knit process so I don't get why Knit throws the following error message:
Error in loadNamespace(name) : there is no package called 'rmarkdown' Calls: :: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted
Where do I need to install the rmarkdown package to?
SystemInfo() shows it is loaded:
other attached packages: [1] ggplot2_3.3.2 tidyr_1.1.2 rmarkdown_2.3 dplyr_1.0.2