[Rd] Creating a long list triggers billions of messages
Ivan Krylov
|kry|ov @end|ng |rom d|@root@org
Tue Jan 21 12:56:15 CET 2025
В Tue, 21 Jan 2025 16:51:34 +1100
Hugh Parsonage <hugh.parsonage using gmail.com> пишет:
> x <- vector("list", 2^31)
>
> which triggers (presumably) billions of error messages like
> Error: long vectors are not supported yet ../include/Rinlinedfuns.h
I couldn't reproduce this with some released versions of R or a recent
R-devel. Would you mind sharing your sessionInfo()?
If you'd like to, could you please run
R -q -s -e 'x <- vector("list", 2^31)' -d gdb
...then set a breakpoint on Rf_errorcall, run the program and collect a
backtrace when it fires?
--
Best regards,
Ivan
More information about the R-devel
mailing list