【发布时间】:2021-07-13 14:45:12
【问题描述】:
我希望你一切都好。我正在尝试安装 gifski 包,以便可以运行 tmap_animation()。
这是我看到的错误消息:
Installing package into ‘/nfs/cfs/home4/wmjl/wmjlwuh/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/src/contrib/gifski_1.4.3.tar.gz'
Content type 'application/x-gzip' length 12729 bytes (12 KB)
==================================================
downloaded 12 KB
* installing *source* package ‘gifski’ ...
** package ‘gifski’ successfully unpacked and MD5 sums checked
** using staged installation
./configure: line 5: cargo: command not found
------------------ RUST COMPILER NOT FOUND --------------------
Cargo was not found on the PATH. Please install cargo / rustc:
- yum install cargo (Fedora/CentOS)
- apt-get install cargo (Debian/Ubuntu)
- brew install rust (MacOS)
Alternatively install Rust from: <https://www.rust-lang.org>
---------------------------------------------------------------
ERROR: configuration failed for package ‘gifski’
* removing ‘/nfs/cfs/home4/wmjl/wmjlwuh/R/x86_64-pc-linux-gnu-library/4.0/gifski’
Warning in install.packages :
installation of package ‘gifski’ had non-zero exit status
我已经尝试按照上面的说明(即在 MacOS 上安装 rust)没有任何成功。
任何人都可以就这个问题提供任何指导吗?
非常感谢,
亚宁
【问题讨论】: