2017-12-27 80 views
2

我尝试运行:无法安装莫奈DB精简版的R Ubuntu的17.10

install.packages("MonetDBLite") 
在R.

不过,我得到以下错误:

cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security] 
cc1: some warnings being treated as errors 
Makevars:194: recipe for target 'build/objects/monetdblite/common/stream.o' failed 
make: *** [build/objects/monetdblite/common/stream.o] Error 1 
ERROR: compilation failed for package ‘MonetDBLite’ 

有谁知道这是为什么不工作?从sessionInfo()

输出如下:

R version 3.4.2 (2017-09-28) 
Platform: x86_64-pc-linux-gnu (64-bit) 
Running under: Ubuntu 17.10 

Matrix products: default 
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1 
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1 

locale: 
[1] LC_CTYPE=en_US.UTF-8  LC_NUMERIC=C     LC_TIME=en_US.UTF-8 
    LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8  LC_MESSAGES=en_US.UTF-8 
[7] LC_PAPER=en_US.UTF-8  LC_NAME=C      LC_ADDRESS=C 
    LC_TELEPHONE=C   LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C 

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

loaded via a namespace (and not attached): 
[1] compiler_3.4.2 tools_3.4.2 yaml_2.1.15 

回答

1

这应该与MonetDBLite对CRAN,0.5.1的最新版本来解决。