我正在尝试在Linux centos中安装Rserve包。我在配置R的安装时添加了必要的库。但是我仍然遇到错误而无法安装它
serve.so RSserver.o Rserv.o base64.o http.o md5.o oc.o qap_decode.o qap_encode.o rsio.o session.o sha1.o standalone.o tls.o websockets.o winembed.o -lssl -lcrypto -ldl -lcrypt -L/nfs/home/mnogueira/R-3.4.1/lib -lR
/usr/bin/ld: cannot find -lR
collect2: error: ld returned 1 exit status
make: *** [Rserve.so] Error 1
ERROR: compilation failed for package ‘Rserve’
* removing ‘/home/R-3.4.1/library/Rserve’
The downloaded source packages are in
‘/tmp/RtmpHt0lVG/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning message:
In install.packages("Rserve") :
installation of package ‘Rserve’ had non-zero exit status
有谁知道如何解决这个问题?没有Rserve包,KNIME无法识别R。
答案 0 :(得分:0)
“ - lR”(告诉编译器再次链接R库)应始终可用于R安装。这表明您的安装可能存在问题。
我发现如果您在x86_64系统上安装了“ix86 RPM”(source),就会发生这种情况。