安裝ggplot2失敗。百度后發(fā)現需要先安裝rlang包,結果如下,如何解決?
> install.packages("rlang")
Package which is only available in source form, and may need
? compilation of C/C++/Fortran: ‘rlang’
? These will not be installed
> install.packages("rlang")
Package which is only available in source form, and may need
? compilation of C/C++/Fortran: ‘rlang’
? These will not be installed
2019-03-31
舉報
2019-12-28
安裝最新版本的R
2019-11-01
看一下是否有如下報錯信息
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
ERROR: compilation failed for package ‘rlang’
mac系統(tǒng)下需要安裝xcrun的編譯環(huán)境