Error in install.packages: internet routines cannot be loaded using StatET while it works in R console

白昼怎懂夜的黑 提交于 2019-11-29 13:10:15

Based on the information given in the question and comments it seems that the issue is that for some reason the LD_LIBRARY_PATH is incorrect when using StatET. I don't know why that is and there may be a better solution to this problem but you should be able to work around it at least. Add a line to .Rprofile or Rprofile.site that uses Sys.setenv() to set your LD_LIBRARY_PATH to something sensible. Based on the information given above that might look something like this:

Sys.setenv(LD_LIBRARY_PATH="/usr/lib/R/lib:/usr/lib/x86_64-linux-gnu:/usr/lib")

If it is indeed a problem with the variable LD_LIBRARY_PATH then you can set it in eclipse for your specified R configuration via Run->Run configurations->Environment tab.

you may also need to check the settings for your R environment.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!