谷歌计算引擎

时间:2017-08-19 21:15:12

标签: r google-compute-engine rstudio-server

我通过谷歌计算引擎在n1-highmem-2虚拟机上运行rstudio。我正在尝试安装Rglpk,但我一直收到此错误

Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
trying URL 'https://mran.microsoft.com/snapshot/2017-08-
18/src/contrib/Rglpk_0.6-3.tar.gz'
Content type 'application/octet-stream' length 20892 bytes (20 KB)
==================================================
downloaded 20 KB

* installing *source* package ‘Rglpk’ ...
** package ‘Rglpk’ successfully unpacked and MD5 sums checked
** libs
/bin/bash: line 0: cd: GLPK: No such file or directory
Makevars:10: recipe for target 'GLPK.ts' failed
make: *** [GLPK.ts] Error 1
ERROR: compilation failed for package ‘Rglpk’ 
* removing ‘/usr/local/lib/R/site-library/Rglpk’
Warning in install.packages :
installation of package ‘Rglpk’ had non-zero exit status

我安装了GLPK,但找不到目录。如何修改Rglpk包以便找到GLPK目录?

0 个答案:

没有答案