install.packages("genlasso_1.3.tar.gz")
inferring 'repos = NULL' from 'pkgs'
*** arch - i386
Warning in system(cmd) : 'make' not found
ERROR: compilation failed for package 'genlasso'
这个是安装提示的错误,我也试过其他很多种方法,但是都没有安装成功,并且总是提示不是有效的安装程序包。求大神解答!
1.更新 Rtools
2. 在R中运行以下代码(必须)
writeLines('PATH="${RTOOLS40_HOME}\usr\bin;${PATH}"', con = "~/.Renviron")
Sys.which("make")
Warning in system(cmd) : 'make' not found
你的nmake/make和gcc配置对了么
你是在windows上用么?建议你用linux