Reading soft file data to R from a downloaded file
3
0
Entering edit mode
9.1 years ago
hasani.iut6 ▴ 60

I've been download soft file data from GSE47875 assertion number to my labtop. Now I want to load it to R, i've been used the

getGEO("GSE47875",filename = "Desktop/GSE47875/GSE47875_series_matrix.txt.gz")

command but I faced the following error:

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

Where is the problem? how can load the soft file data to R?

Thank you,

mansoor

r • 5.9k views
ADD COMMENT
2
Entering edit mode
9.1 years ago
hasani.iut6 ▴ 60

The problem was because that I've not been installed curl on my Linux, so I've installed it by the sudo apt-get install curl command and the problem was solved.

ADD COMMENT
2
Entering edit mode
9.1 years ago
h.mon 35k

From getGEO manual:

Either one of GEO or filename may be specified, not both
ADD COMMENT
0
Entering edit mode
9.1 years ago
hasani.iut6 ▴ 60

I've tested it to by this command:

data=getGEO(filename = "GSE47875/GSE47875_series_matrix.txt.gz")

but the error is still exsit:

sh: 1: curl: not found
File stored at: 
/tmp/Rtmp6zTEO1/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/Rtmp6zTEO1/GPL1355.soft': No such file or directory
ADD COMMENT

Login before adding your answer.

Traffic: 1303 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6