【问题标题】:Issue in Update packages in RR中更新包的问题
【发布时间】:2015-02-27 07:07:46
【问题描述】:

我昨天更新了所有的包,现在我在 sqldf 包中遇到错误:

sqldf("select * from dt")
        Error in if (.allows_extensions(db)) { : 
        missing value where TRUE/FALSE needed

我尝试使用 checkpoint() 来访问所有执行正确但再次失败的包的现有版本:

checkpoint("2015-02-25")
       Scanning for loaded pkgs
       Scanning for packages used in this project
       Installing packages used in this project 

        There are binary versions available (and will be installed) but the
        source versions are later:
        Error in data.frame(binary = binvers, source = srcvers, row.names = bins,  : 
         duplicate row.names: downloader, sqldf, survey, plyr, ggplot2,scales, mapproj, RColorBrewer, maptools, raster, rgeos, fields, mgcv, stringr, spatstat, rgdal, RSQLite, MonetDB.R, RCurl, car, tree, ROCR, rattle, rpart, caret, randomForest, RODBC, reshape2, MASS, epiR, faraway, ggmap, maps, xlsx,  pROC, colorspace, quantmod, R2wd, checkpoint

有人可以帮我解决这个问题吗..

【问题讨论】:

    标签: r packages install.packages


    【解决方案1】:

    将 R 版本升级到 3.1.1 后问题得到解决。可能是某些包升级不兼容早期版本的R。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-01-15
      • 1970-01-01
      • 2023-03-14
      • 1970-01-01
      • 2023-03-17
      • 1970-01-01
      相关资源
      最近更新 更多