从下载的文件向R读取软文件数据

从下载的文件向R读取软文件数据,r,R,我已经从GSE47875断言号下载了软文件数据到我的labtop。现在我想把它加载到R,我已经用过了 getGEO("GSE47875",filename = "Desktop/GSE47875/GSE47875_series_matrix.txt.gz") 但我遇到了以下错误: sh: 1: curl: not found File stored at: /tmp/RtmpHyQAgg/GPL1355.soft Error in file(fname, "r") : cannot open

我已经从GSE47875断言号下载了软文件数据到我的labtop。现在我想把它加载到R,我已经用过了

getGEO("GSE47875",filename = "Desktop/GSE47875/GSE47875_series_matrix.txt.gz")
但我遇到了以下错误:

sh: 1: curl: not found
File stored at: 
/tmp/RtmpHyQAgg/GPL1355.soft
Error in file(fname, "r") : cannot open the connection
In addition: Warning messages:
1: In download.file(myurl, destfile, mode = mode, quiet = TRUE, method = getOption("download.file.method.GEOquery")) :
  download had nonzero exit status
2: In file(fname, "r") :
  cannot open file '/tmp/RtmpHyQAgg/GPL1355.soft': No such file or directory

问题在哪里?如何将软文件数据加载到R?

看起来您是在Linux上,并且没有安装
curl
(从命令行或脚本下载的程序)。它是免费的,所以请安装它!您可以使用
sudo-apt-get-install-curl
在Debian类型的发行版上安装它


有更多的细节。

似乎与卷曲有关的问题。