Shweta Singh
Shweta Singh

Reputation: 31

error after installing ggmap in r

I installed package ggmap. But when I wanted to use it , I got following error:

library(ggmap)
loading required package ggplot2
Error in readRDS(nsINFoFilePath) : unknown input format
Error: package or namespace load failed for 'ggmap'

I also uninstalled it using utils and reinstalled but same error appears again.

Upvotes: 3

Views: 1050

Answers (1)

mr_s
mr_s

Reputation: 41

Try uninstalling ggplot2 first:

uninstall.packages("ggplot2")

and then installing both ggplot2 and ggmap.

Upvotes: 1

Related Questions