Created attachment 2162 [details]
patch to subset.c
The following matrix indexing operation errors:
a = matrix(0,47000,47000)
Error: long vectors not supported yet: subset.c:753
I believe this is due to the use of LENGTH instead of XLENGTH on that line and the following few lines. Attached is a patch that seems to resolve the issue. Thanks!
Thank you! Indeed, all is as you say.
I've confirmed the problem and that your patch fixes it.
I've committed it to R-devel and will port it to R-patched ... which should become R 3.3.2 by the end of the month.