在R Studio中调用tidyverse时遇到一些麻烦。当我尝试为tidyverse加载库时,收到以下消息:
install.packages("tidyverse")
library(tidyverse)
Error in gzfile(file, "rb") : cannot open the connection
In addition: Warning message:
In gzfile(file, "rb") :
cannot open compressed file 'C:/Users/user/Documents/R/win-library/3.5/generics/R/generics.rdx', probable reason 'No such file or directory'
Error: package or namespace load failed for ‘tidyverse’:
unable to load R code in package ‘generics’
我尝试卸载并重新安装R Studio,但无法解决问题。我也在网络上进行了一些研究,但找不到解决该问题的方法。
谢谢!