randy3k / radian

A 21 century R console
MIT License
2k stars 76 forks source link

Radian can not be opened. #336

Closed seedvestige closed 2 years ago

seedvestige commented 2 years ago

I have installed radian in Centos7, but when I opened radian, it showed me the error as below.

Traceback (most recent call last): File "/home/zhengjieou/software/Anaconda/anaconda3/envs/py39/bin/radian", line 8, in sys.exit(main()) File "/home/zhengjieou/software/Anaconda/anaconda3/envs/py39/lib/python3.9/site-packages/radian/init.py", line 51, in main r_home = Rhome() File "/home/zhengjieou/software/Anaconda/anaconda3/envs/py39/lib/python3.9/site-packages/rchitect/utils.py", line 87, in Rhome verify_Rhome(rhome) File "/home/zhengjieou/software/Anaconda/anaconda3/envs/py39/lib/python3.9/site-packages/rchitect/utils.py", line 56, in verify_Rhome raise RuntimeError("R share library ({}) does not exist.".format(path)) RuntimeError: R share library (/home/zhengjieou/software/R/lib64/R/lib/libR.so) does not exist.

I don't know how to deal with this problem. Thank you so much for your help!

sci-42ver commented 2 years ago

I think your R installation is not proper by R share library (/home/zhengjieou/software/R/lib64/R/lib/libR.so) does not exist. which is listed in the README.md

seedvestige commented 2 years ago

Thank you so much! I have solved this problem by reinstalling R. Add "./configure --enable-R-shlib --with-readline=yes --with-libpng=yes --with-blas -prefix=usr/home/xxx/" when installing.