R install.packages 如何从源代码包安装?

很简单,示例代码如下

install.packages("Matrix.utils.tar.gz", repos = NULL, type="source")
R版本没问题,是最新的,但是仍然报错如下:> warnings() Warning messages: 1: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘proxy’ had non-zero exit status 2: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘checkmate’ had non-zero exit status 3: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘KernSmooth’ had non-zero exit status 4: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘wk’ had non-zero exit status 5: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘farver’ had non-zero exit status 6: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘lattice’ had non-zero exit status 7: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘cluster’ had non-zero exit status 8: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘nnet’ had non-zero exit status 9: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘foreign’ had non-zero exit status 10: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘data.table’ had non-zero exit status 11: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘colorspace’ had non-zero exit status 12: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘mvtnorm’ had non-zero exit status 13: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘SparseM’ had non-zero exit status 14: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘units’ had non-zero exit status 15: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘isoband’ had non-zero exit status 16: In install.packages("ggplot2", dependencies = TRUE) : installation of package ‘MASS’ had non-zero exit status 17: In install.packages("ggplot2", dependencies = TRUE) :
最新发布
03-09
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值