Installation of Rserve package in Linux

1.2k Views Asked by At

I am trying to install the package Rserve in R in Linux centos. I added the necessary libraries when configurating the installation of R. But I still get errors and can not install it

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

Does anyone know how to solve this? Whithout the Rserve package KNIME can not recognize R.

1

There are 1 best solutions below

0
On

"-lR" (which tells the compiler to link agains the R library) should be available with your R installation always. This indicates that there is probably something wrong with your installation.

I found that this can happen if you installed a "ix86 RPM on an x86_64 system" (source).