Can't connect to a local database using Monetd

2019-07-06 19:57发布

问题:

I'm trying to set a local connection to a database using Monetdb.R, but for some reason it is not working. I'm using the latest version of monetdb (MonetDB5 64 bits "Jan2014-SP3", 2014-07-25 release) in a Windows 7.

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

回答1:

MonetDB.R 0.9.5 has been released to CRAN. Windows binary distributions should be available shortly.



标签: r monetdb