我安装了包ggmap
。但是当我想使用它时,我得到了以下错误:
library(ggmap)
loading required package ggplot2
Error in readRDS(nsINFoFilePath) : unknown input format
Error: package or namespace load failed for 'ggmap'
我还使用utils卸载它并重新安装,但再次出现相同的错误。
答案 0 :(得分:0)
首先尝试卸载ggplot2
:
uninstall.packages("ggplot2")
然后安装ggplot2
和ggmap
。