安装sqldf包时出错

时间:2016-07-18 17:55:53

标签: r packages sqldf

我尝试使用以下代码安装sqldf软件包:

install.packages("sqldf")

但是,我收到以下错误。

Warning in install.packages :
  error 1 in extracting from zip file
Warning in install.packages :
  cannot open compressed file 'RSQLite/DESCRIPTION', probable reason 'No such file or directory'
Error in install.packages : cannot open the connection

有没有办法解决这个问题?

会话信息 -

R version 3.2.2 (2015-08-14)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] RODBC_1.3-13

loaded via a namespace (and not attached):
[1] tools_3.2.2

1 个答案:

答案 0 :(得分:0)

我也有这个问题。该错误取决于BH库。 首次更新到3.4.1 RC,因为3.4.0将在验证TRUE / FALSE包中失败。 直接从de R CRAN Library下载BH库。使用7.zip解压缩并将文件夹复制到R文件夹中的库。