Error in loadNamespace(x) : there is no package called ‘readr’

Problem: R command returns next message or something similar:

Error in loadNamespace(x) : there is no package called ‘readr’

It also can be something similar like:

Error in library(dplyr) : there is no package called ‘dplyr’

Solution: It indicates that you have no installed necessary packages. To solve this you have to add the commands:

install.packages("readr");
library(readr)

or

install.packages("dplyr");
library(dplyr)

It is only necessary to include de name of the package that indicates the error in

install.packages("<package_name>")

For more interesting tutorials & guides just check them HERE.

Leave a Reply

Your email address will not be published. Required fields are marked *