0

我已经尝试解决这个问题几个小时,但我找不到任何方法。我使用的命令是: install.packages("rayshader")

我试图在带有 EC2 实例的 AWS 机器上安装“rayshader”包。此安装的目的是能够运行 make 命令以自动创建包含来自“rayshader”的 3D 图形的 RMD 报告。

执行返回的错误如下:

make: *** [RcppArmadillo.so] Error 1
ERROR: compilation failed for package ‘RcppArmadillo’
* removing ‘/home/ubuntu/R/x86_64-pc-linux-gnu-library/3.4/RcppArmadillo’
ERROR: dependencies ‘jpeg’, ‘RcppArmadillo’ are not available for package ‘rayimage’
* removing ‘/home/ubuntu/R/x86_64-pc-linux-gnu-library/3.4/rayimage’
ERROR: dependencies ‘raster’, ‘rayimage’, ‘RcppArmadillo’ are not available for package ‘rayshader’
* removing ‘/home/ubuntu/R/x86_64-pc-linux-gnu-library/3.4/rayshader’

The downloaded source packages are in
    ‘/tmp/RtmpDWE73c/downloaded_packages’
Warning messages:
1: In install.packages("rayshader") :
  installation of package ‘jpeg’ had non-zero exit status
2: In install.packages("rayshader") :
  installation of package ‘RcppArmadillo’ had non-zero exit status
3: In install.packages("rayshader") :
  installation of package ‘rayimage’ had non-zero exit status
4: In install.packages("rayshader") :
  installation of package ‘rayshader’ had non-zero exit status

请,任何帮助将不胜感激!

4

0 回答 0