patch for scan.c for long vector support

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

patch for scan.c for long vector support

Aaron Goodman
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.

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Reply | Threaded
Open this post in threaded view
|

Re: patch for scan.c for long vector support

Tomas Kalibera
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:

> 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.
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel