错误原型:
WARNING: ignoring environment value of R_HOME
./R: line 248: /home/conda/feedstock_root/build_artifacts/r-base-split_1678912227145/nv_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_phol/lib/R/etc/ldpaths: No such file or directory
ERROR: R_HOME ('/home/conda/feedstock_root/build_artifacts/r-base-split_1678912227145env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_phold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_ehol/lib/R') not found
最初的尝试为设置环境变量R_HOME,但是都没什么用。
然后发现:
whereis R
whereis R是可以运行的,也就是能找到启动R的脚本,但是找不到R具体的位置?不太懂
解决方案:
将whereis R地址的R脚本中第一个R_HOME_DIR改为conda环境中的R包地址就好了
这是我的地址: