[Rd] patch for scan.c for long vector support

2018-05-23 Thread 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 c

Re: [Rd] debugonce() functions are not considered as debugged

2018-05-23 Thread Tomas Kalibera
On 05/22/2018 06:07 PM, Gábor Csárdi wrote: On Mon, May 21, 2018 at 5:01 PM Tomas Kalibera wrote: [...] Do you have a good use case when it would be useful to query/unset the mark for debugonce? Well, I suppose the same use cases when it is useful to query/unset the other debug mark. I asked b

Re: [Rd] debugonce() functions are not considered as debugged

2018-05-23 Thread Gábor Csárdi
On Wed, May 23, 2018 at 11:03 AM Tomas Kalibera wrote: [...] > As I said I think it would be wrong to use such function in code, but in > principle isdebugged() could be changed to detect whether a given > function will be debugged due to debug() or debugonce() or is currently > being run in a deb