0

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)

Community
  • 1
  • 1
  • 2
    Duplicate: https://stackoverflow.com/questions/16382647/remove-all-packages-that-do-not-come-with-r ? – pogibas May 28 '18 at 10:50
  • 1
    Have you tried `install.packages("yaml")` to solve the issue? – hplieninger May 28 '18 at 10:59
  • 1
    Possible duplicate of [Remove all packages that do not come with R](https://stackoverflow.com/questions/16382647/remove-all-packages-that-do-not-come-with-r) – phiver May 28 '18 at 12:17

0 Answers0