2

使用此处找到的 CPS 数据下载脚本。逐字逐句地使用脚本,每次更新,除了我为我的环境(如下)添加的 Java 修改以修复loadnamespace. 虽然我熟悉 R 的基础知识,但这是我第一次涉足MonetDBLite.

# configure Java
if (Sys.getenv("JAVA_HOME")!="")
  Sys.setenv(JAVA_HOME="")
library(rJava)

现在我收到以下错误,通常是在处理了 400,000 cps asec 行中的 380,000 行之后。

Warning message:
In readLines(url) :
  incomplete final line found on 'http://thedataweb.rm.census.gov/pub/cps/march/asec2015early_pubuse.dd.txt'
Error in dbConnect(MonetDBLite::MonetDBLite(), dbfolder) : 
  error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': Error: 'MonetDBLite' is not an exported object from 'namespace:MonetDBLite'
4

1 回答 1

1

MonetDBLite 刚刚在 CRAN 上更新,请重新安装。

于 2016-06-10T08:44:21.690 回答