环境Ubuntu22,R4.1
also installing the dependencies 'curl', 'openssl', 'httr', 'plotly'
R包安装的时候报了这个错误ERROR: dependencies 'httr', 'plotly' are not available for package 'Seurat'
解决方法,退出R,在terminal中键入:
bash
apt install curl
apt install openssl
apt-get install libcurl4-openssl-dev --fix-missing
apt install libssl-dev
进入R,键入如下:
r
install.packages("curl")
install.packages("openssl")
install.packages("httr")
install.packages("plotly")
install.packages("Seurat")
解决问题,在R语言中输入,
r
library(Seurat)