R integration: Cannot install Rserve

Hello,

Following this instruction to integrate R and Knime, I could not install Rserve on the local R instance.

I am trying to integrate Knime and R on windows 10.

I copied the error as follows:

"C:/rtools40/mingw32/bin/“gcc -I"C:/PROGRA~1/R/R-4.1.2/include” -DNDEBUG -DRSERVE_PKG -DWin32 -I. -Iinclude -Iinclude/Win32 -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c oc.c -o oc.o

oc.c:11:10: fatal error: openssl/rand.h: No such file or directory

#include <openssl/rand.h>

^~~~~~~~~~~~~~~~

compilation terminated.

make: * [C:/PROGRA~1/R/R-4.1.2/etc/i386/Makeconf:238: oc.o] Error 1

ERROR: compilation failed for package ‘Rserve’

  • removing ‘C:/-----/Rpackages/Rserve’

Warning in install.packages :

installation of package ‘Rserve’ had non-zero exit status