Error: The size of the connection buffer (131072) was not large enough

R语言,进行GEO数据挖掘与分析,在线下载GEO数据,

gset <- getGEO("GSE94994", GSEMatrix =TRUE, AnnotGPL=FALSE)

报以下错误:

Found 1 file(s)
GSE94994_series_matrix.txt.gz
Using locally cached version: C:\Users\ENMONS~1\AppData\Local\Temp\Rtmpe27iLR/GSE94994_series_matrix.txt.gz
Error: The size of the connection buffer (131072) was not large enough
to fit a complete line:
  * Increase it by setting `Sys.setenv("VROOM_CONNECTION_SIZE")`

Rstido默认链接缓存为131072字节,转换后131KB,0.131MB

字节单位换算

 但是你下载的数据大小>131072字节,所以我们需要调整默认连接缓存,以便正常下载

解决方法:

Sys.setenv("VROOM_CONNECTION_SIZE"=99999999)

 代码实现:

> gset <- getGEO("GSE94994", GSEMatrix =TRUE, AnnotGPL=FALSE)
Found 1 file(s)
GSE94994_series_matrix.txt.gz
Using locally cached version: C:\Users\ENMONS~1\AppData\Local\Temp\Rtmpe27iLR/GSE94994_series_matrix.txt.gz
Error: The size of the connection buffer (111) was not large enough
to fit a complete line:
  * Increase it by setting `Sys.setenv("VROOM_CONNECTION_SIZE")`
> Sys.setenv("VROOM_CONNECTION_SIZE"=99999999)
> gset <- getGEO("GSE94994", GSEMatrix =TRUE, AnnotGPL=FALSE)
Found 1 file(s)
GSE94994_series_matrix.txt.gz
Using locally cached version: C:\Users\ENMONS~1\AppData\Local\Temp\Rtmpe27iLR/GSE94994_series_matrix.txt.gz
Rows: 18 Columns: 160                                                                                                         
 0s-- Column specification --------------------------------------------------------------------------------------------------------
Delimiter: "\t"
chr   (1): ID_REF
dbl (159): GSM2493904, GSM2493905, GSM2493906, GSM2493907, GSM2493908, GSM2493909, GSM2493910, GSM2493911, GSM2493912, GSM24...

i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
Using locally cached version of GPL23075 found here:
C:\Users\ENMONS~1\AppData\Local\Temp\Rtmpe27iLR/GPL23075.soft 

  • 13
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

foreverlove111

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值