From w|||@|@nd@u @end|ng |rom gm@||@com  Fri Dec  6 22:02:59 2019
From: w|||@|@nd@u @end|ng |rom gm@||@com (Will L)
Date: Fri, 6 Dec 2019 16:02:59 -0500
Subject: [Rd] long vector support
Message-ID: <CAC-MUvsRCK1tSzhPjc_YzkOye3inNp3m8rL=mDnqZUoCOsqveg@mail.gmail.com>

All,


At first glance, a recent commit to R-devel (
https://github.com/wch/r-source/commit/2c182014ecc8c2407a89092c9162d86046bd18da)
appears to be related to long vector support. But as Henrik Bengtsson
points out at
https://github.com/HenrikBengtsson/Wishlist-for-R/issues/97#issuecomment-562659134,
writeBin() still prohibits long vectors. Are there any plans to add long
vector support to R 4.0.0?

x <- raw(2^31)
writeBin(x, con = nullfile())
# Error in writeBin(x, con = nullfile()) :
#  long vectors not supported yet: connections.c:4430

x <- raw(2^31)
con <- rawConnection(raw(0L), "w")
writeBin(raw(2^31), con = con)
# Error in writeBin(raw(2^31), con = con) :
#  long vectors not supported yet: connections.c:4430


Will

	[[alternative HTML version deleted]]



[Rd] long vector support
Will L