谷歌计算引擎上的Rglpk安装错误

谷歌计算引擎上的Rglpk安装错误,r,google-compute-engine,rstudio-server,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

我通过谷歌计算引擎在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目录