简体   繁体   English

无法使用Monetdb.R连接到本地数据库

[英]Can't connect to a local database using Monetdb.R

I'm trying to set a local connection to a database using Monetdb.R, but for some reason it is not working. 我正在尝试使用Monetdb.R设置与数据库的本地连接,但由于某种原因它无法正常工作。 I'm using the latest version of monetdb (MonetDB5 64 bits "Jan2014-SP3", 2014-07-25 release) in a Windows 7. 我在Windows 7中使用最新版本的monetdb(MonetDB5 64位“Jan2014-SP3”,2014-07-25发布)。

Here it is a short reproducible example: 这是一个简短的可重现的例子:

> library(MonetDB.R)
Carregando pacotes exigidos: DBI
Carregando pacotes exigidos: digest
> conn <- dbConnect(dbDriver("MonetDB"), "monetdb://localhost/demo")
Error in .mapiRead(con) : ERROR reading MAPI block header (0)

I haven't seen this error occuring with other users... 我没有看到与其他用户发生此错误...

> sessionInfo()
R version 3.1.1 (2014-07-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=Portuguese_Brazil.1252  LC_CTYPE=Portuguese_Brazil.1252        LC_MONETARY=Portuguese_Brazil.1252
[4] LC_NUMERIC=C                       LC_TIME=Portuguese_Brazil.1252    

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

other attached packages:
[1] MonetDB.R_0.9.4 digest_0.6.4    DBI_0.3.0      

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

MonetDB.R 0.9.5 has been released to CRAN. MonetDB.R 0.9.5已经发布到CRAN。 Windows binary distributions should be available shortly. Windows二进制发行版很快就会推出。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM