我需要在Windows 10上安装nloptr
版本1.2.1。这是我的代码:
library("devtools")
install_version("nloptr", version = "1.2.1", repos = "http://cran.us.r-project.org")
这是错误消息的摘录:
init_nloptr.c:35:10: fatal error: nlopt.h: No such file or directory
#include "nlopt.h"
^~~~~~~~~
compilation terminated.
有工作吗?