我尝试在 R 4.0.3 上安装 nloptr,但出现此错误:
implement
有人能指出我的解决方案吗?
提前致谢。
答案 0 :(得分:1)
最新的 (2.6.2) libnlopt-dev 包在 Ubuntu 20 中被破坏,由于某种原因它被编译成一个静态库(.so 共享对象丢失) 几天前我遇到了类似的问题。快速解决方法是从 Github 下载 NLOPT 并自己编译 https://nlopt.readthedocs.io/en/latest/NLopt_Installation/ 至少,它对我有用。