使用以下命令在CentOS上安装kernlab R软件包时遇到问题:
install.packages("/home/R_Libraries/kernlab_0.9-20.tar.gz", repos = NULL, type="source")
我收到以下错误:
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已按以下命令确认安装:
ldconfig -v|grep fortran
libgfortran.so.1 -> libgfortran.so.1.0.0
有人可以帮忙解决这个问题吗?