Error using getGEO - error reading from the connection
0
0
Entering edit mode
3.1 years ago
bautin • 0

Hi, I've been trying to open GEO data in R studio. So far I have the following code, copied from a tutorial:

#tutorial for analysing data from GEO
library(GEOquery)

my_id <- "GSE33126"

gse <- getGEO(my_id)

However, I get the following error when running this code:

Found 1 file(s)
GSE33126_series_matrix.txt.gz
trying URL 'https://ftp.ncbi.nlm.nih.gov/geo/series/GSE33nnn/GSE33126/matrix/GSE33126_series_matrix.txt.gz'
Content type 'application/x-gzip' length 3658664 bytes (3.5 MB)
downloaded 3.5 MB
File stored at: 
C:\Users\mark\AppData\Local\Temp\RtmpovALno/GPL6947.soft.gz
Error in readLines(con, 100) : error reading from the connection
In addition: Warning message:
In for (i in seq_len(n)) { :
  closing unused connection 3 (C:\Users\mark\AppData\Local\Temp\RtmpovALno/GPL6246.soft.gz)

For reference, I have a fresh R studio and R installation with R version 4.1.2. The packages I have installed are:

install.packages("BiocManager")
install.packages("forcats")
install.packages("stringr")
install.packages("ggplot2")
install.packages("ggrepel")
install.packages("readr")
install.packages("tidyr")
install.packages("survminer")
BiocManager::install("GEOquery")
BiocManager::install("limma")
BiocManager::install("pheatmap")
BiocManager::install("org.Hs.eg.db")

It seems that the file is downloaded correctly, but something is going wrong afterwards. Does anyone have an idea what could be the problem here?

R GEO Bioconductor GEOquery • 994 views
ADD COMMENT
1
Entering edit mode
ADD REPLY

Login before adding your answer.

Traffic: 3029 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