R Rstudio在安装包mapdeck和googlePolylines时遇到问题

时间:2018-11-20 13:28:11

标签: r rstudio mapdeck

当我尝试在Rstudio中安装程序包mapdeck时,控制台中会显示一条消息,提示我需要安装程序包googlePolylines,但无法安装此程序。控制台中显示的错误如下:

  

成功打包了“ googlePolylines”包装,并检查了MD5金额

     

     

g ++ -m64 -std = gnu ++ 0x -I / usr / include / R -DNDEBUG -I ../ inst / include -I“ / home / arubio / R / x86_64-redhat-linux-gnu-library /3.4/Rcpp/include“ -I” / usr / lib64 / R / library / BH / include“ -I / usr / local / include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE = 2 -fexceptions -fstack-protector --param = ssp-buffer-size = 4 -m64 -mtune = generic -c RcppExports.cpp -o RcppExports.o

     

g ++ -m64 -std = gnu ++ 0x -I / usr / include / R -DNDEBUG -I ../ inst / include -I“ / home / arubio / R / x86_64-redhat-linux-gnu-library /3.4/Rcpp/include“ -I” / usr / lib64 / R / library / BH / include“ -I / usr / local / include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE = 2 -fexceptions -fstack-protector --param = ssp-buffer-size = 4 -m64 -mtune =通用-c编码.cpp -o编码.o

     

encode.cpp:在函数“ void encode_vector(std :: ostringstream&,std :: ostringstream&,Rcpp :: List,Rcpp :: CharacterVector&,int)”中:   encode.cpp:175:错误:从“ Rcpp :: internal :: generic_proxy <19,Rcpp :: PreserveStorage>”到“ double”的转换不明确   /home/arubio/R/x86_64-redhat-linux-gnu-library/3.4/Rcpp/include/Rcpp/vector/generic_proxy.h:73:注意:候选对象为:Rcpp :: internal :: generic_proxy :: operator int( )const [with int RTYPE = 19,StoragePolicy = Rcpp :: PreserveStorage]   /home/arubio/R/x86_64-redhat-linux-gnu-library/3.4/Rcpp/include/Rcpp/vector/generic_proxy.h:72:注意:Rcpp :: internal :: generic_proxy :: operator bool()const [ int RTYPE = 19,StoragePolicy = Rcpp :: PreserveStorage]   /home/arubio/R/x86_64-redhat-linux-gnu-library/3.4/Rcpp/include/Rcpp/vector/generic_proxy.h:67:注意:Rcpp :: internal :: generic_proxy :: operator U()const [其中U = double,int RTYPE = 19,StoragePolicy = Rcpp :: PreserveStorage]   encode.cpp:176:错误:从“ Rcpp :: internal :: generic_proxy <19,Rcpp :: PreserveStorage>”到“ double”的转换不明确   /home/arubio/R/x86_64-redhat-linux-gnu-library/3.4/Rcpp/include/Rcpp/vector/generic_proxy.h:73:注意:候选对象为:Rcpp :: internal :: generic_proxy :: operator int( )const [with int RTYPE = 19,StoragePolicy = Rcpp :: PreserveStorage]   /home/arubio/R/x86_64-redhat-linux-gnu-library/3.4/Rcpp/include/Rcpp/vector/generic_proxy.h:72:注意:Rcpp :: internal :: generic_proxy :: operator bool()const [ int RTYPE = 19,StoragePolicy = Rcpp :: PreserveStorage]   /home/arubio/R/x86_64-redhat-linux-gnu-library/3.4/Rcpp/include/Rcpp/vector/generic_proxy.h:67:注意:Rcpp :: internal :: generic_proxy :: operator U()const [其中U = double,int RTYPE = 19,StoragePolicy = Rcpp :: PreserveStorage]   make:*** [encode.o]错误1   错误:包“ googlePolylines”的编译失败

     

删除“ /home/arubio/R/x86_64-redhat-linux-gnu-library/3.4/googlePolylines”

     

install.packages中的警告:     软件包“ googlePolylines”的安装退出状态为非零

     

已下载的源包位于       ‘/ tmp / RtmpwwAJSv / downloaded_pa​​ckages’

我几乎没有找到关于这两个软件包的任何信息,因此,如果有人可以帮助我,我将非常感谢。

0 个答案:

没有答案