Yesterday I tried to open a R Markdown in Rstudio. Rstudio forced me to download something, Now everytime I restart Rstudio or install package, it shows
Error in loadNamespace(name) : there is no package called ‘yaml’
Error in loadNamespace(name) : there is no package called ‘yaml’"
I saw someone say that I can resolve this by removing all packages I have installed, but I only found the remove.package
function, which can only remove one package at a time.
If I want to delete all packages, what should I do? (I use Mac)