Skip to content

patch for scan.c for long vector support

2 messages · Aaron Goodman, Tomas Kalibera

#
I noticed that scan.c does not yet support long vectors. It was causing a
problem in the rstan library (https://github.com/stan-dev/rstan/issues/530)

I was able to patch base R to add long vector support. See the following
gist.
https://gist.github.com/aaronjg/f39e5966687ca004dab5a10e7655c648

I could not make a bugzilla account, so I am sending the patch here.
2 days later
#
Thanks for the report, fixed in R-devel 74782.
Please report back if the fix is not sufficient for your use case.

Tomas
On 05/23/2018 06:16 AM, Aaron Goodman wrote: