【画图专题】PCA分析作图
#zhangj
#20190111
#PCA plot
1,软件安装
#package ggbiplot
install.packages("devtools", repos="http://mirror.lzu.edu.cn/CRAN/")
#openssl
library(devtools)
install_github("vqv/ggbiplot",force=T)
library(ggbiplot)
安装的时候会报类似的错:
ERROR: configuration failed for package ‘RCurl’
解决办法:
https://tieba.baidu.com/p/4958574519?red_tag=1463637857
sudo apt install libcurl4-openssl-dev
sudo apt install libxml2-dev
https://stackoverflow.com/questions/42115972/configuration-failed-because-libcurl-was-not-found
libcurl4-openssl-dev is not a R package, but rather a linux library.
In a console type:
sudo apt-get install libcurl4-openssl-dev
Note: you need sudo powers.
未完待续......
















































