R报错|The size of the connection buffer (131072) was not large enough

Posted qq_21478261

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了R报错|The size of the connection buffer (131072) was not large enough相关的知识,希望对你有一定的参考价值。

R语言如下报错:

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")`

报错分析:

  • VROOM_CONNECTION_SIZE - The size (in bytes) of the connection buffer when reading from connections (default is 128 KiB).,也就是这个128 KiB太小了

参考:https://cran.r-project.org/web/packages/vroom/readme/README.html

解决方式:

Sys.setenv("VROOM_CONNECTION_SIZE"=131072*2

以上是关于R报错|The size of the connection buffer (131072) was not large enough的主要内容,如果未能解决你的问题,请参考以下文章

kafkaFound a message larger than the maximum fetch size of this consumer on topic

上传文件报错:Warning: POST Content-Length of 9443117 bytes exceeds the limit of 8388608 bytes in Unknown

consider increasing the maximum size of the cache.

The size of tensor a must match the size of tensor b at non-singleton dimension 0

The size of tensor a must match the size of tensor b at non-singleton dimension 0

consider increasing the maximum size of the cache