M1 版Macbook安装WGCNA包是总是装不上

install.packages("WGCNA")


> install.packages("WGCNA")
Warning in install.packages :
  没有'‘impute’, ‘preprocessCore’'这种相依关系
Package which is only available in source form, and may need compilation of
  C/C++/Fortran: ‘WGCNA’
Do you want to attempt to install these from sources? (Yes/no/cancel) Yes
安装源码包‘WGCNA’

试开URL’https://mirrors.tuna.tsinghua.edu.cn/CRAN/src/contrib/WGCNA_1.70-3.tar.gz'
Content type 'application/x-gzip' length 1169245 bytes (1.1 MB)
==================================================
downloaded 1.1 MB

ERROR: dependencies ‘impute’, ‘preprocessCore’ are not available for package ‘WGCNA’
* removing ‘/Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/WGCNA’
Warning in install.packages :
  installation of package ‘WGCNA’ had non-zero exit status

The downloaded source packages are in
	‘/private/var/folders/p1/nddxkv49603274lxlkfvy6500000gn/T/Rtmpix4IhF/downloaded_packages’

 

运行上述代码,不能安装WGCNA包,R版本:R-4.1.0-arm64.pkg (notarized and signed)

 

总是出现这个问题:Package which is only available in source form, and may need compilation of   C/C++/Fortran: ‘WGCNA’

你可以参考下这篇文章,一样的问题:https://blog.csdn.net/weixin_39856269/article/details/110714541

您好老师,我再 WGCNA的描述上看见了这样一句话,是不是说这个包目前在ARM上,还不能用 :macOS binaries:    r-release (arm64): not available, r-release (x86_64): not available, r-oldrel: WGCNA_1.70-3.tgz

您好,我是有问必答小助手,您的问题已经有小伙伴解答了,您看下是否解决,可以追评进行沟通哦~

如果有您比较满意的答案 / 帮您提供解决思路的答案,可以点击【采纳】按钮,给回答的小伙伴一些鼓励哦~~

ps:问答VIP仅需29元,即可享受5次/月 有问必答服务,了解详情>>>https://vip.csdn.net/askvip?utm_source=1146287632