I am facing issues while installing the kernlab R package on CentOS using the following command:
install.packages("/home/R_Libraries/kernlab_0.9-20.tar.gz", repos = NULL, type="source")
I get the following error:
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/opt/vertica/R/library/kernlab/libs/kernlab.so':
libgfortran.so.3: wrong ELF class: ELFCLASS32
gfortran is installed as confirmed by the following command:
ldconfig -v|grep fortran
libgfortran.so.1 -> libgfortran.so.1.0.0
Can someone help with fixing this issue?