Re: [Rd] seq.int broken (seq as well) (PR#14169)

2010-01-13 Thread Barry Rowlingson
2010/1/11 Jens Oehlschlägel oehl_l...@gmx.de: Petr, This can have severe consequences like accessing beyond the limits of an array. If C-code is involved, this can crash R. In the worst case algorithms can silently do wrong. Being an admirer of R since its early days, I was shocked to see

Re: [Rd] Lightweight 'package' idea.

2010-01-13 Thread Keith Jewell
Going back a few months I also thought it would be nice if R had built into it some way of running code in source packages possibly with degraded functionality to ease development so building on Barry Rowlingsons start I came up with this: --- loadDir - function(.Root

[Rd] bug in callNextMethod (PR#14185)

2010-01-13 Thread bernd_bischl
Hi, there seems to be a possible bug in callNextMethod in conjunction with the [-operator. Relevant info, minimal example and sessionInfo follow below: ### setClass(foo, representation = representation(a = numeric)) setClass(bar, contains = foo) setMethod(

[Rd] Is this strftime behavior (on WinXP) what's expected?

2010-01-13 Thread Galkowski, Jan
WinXP, R version 2.10.1: s1- strftime(2009/12/15 11:55:00 PM, format=%Y/%m/%d %I:%M:%S %p, tz=GMT, usetz=FALSE) print(s1) [1] 2009/12/15 11:55:00 AM s2- strftime(2009/12/16 12:00:00 AM, format=%Y/%m/%d %I:%M:%S %p, tz=GMT, usetz=FALSE) print(s2) [1] 2009/12/16 12:00:00 PM s3-

Re: [Rd] bug in callNextMethod (PR#14185)

2010-01-13 Thread John Chambers
Yes, a bug prevented callNextMethod() from detecting the special case of the `[` call, for which it did have code. Should be fixed in the current 2.11.0 (r 50976). Thanks for the helpful bug report. John Chambers bernd_bis...@gmx.net wrote: Hi, there seems to be a possible bug in

Re: [Rd] Rd output garbled in some circumstances

2010-01-13 Thread Duncan Murdoch
On 13/01/2010 6:15 PM, Ross Boylan wrote: I'm having trouble getting correct help output in some circumstances for a package I've created. Though this is not an issue with the current R, I would like my package to work with previous ones as well. I'm looking for suggestions about how I could

[Rd] Mksetup() limited to hashing with 32 bits

2010-01-13 Thread Benjamin Tyner
The MKsetup() in unique.c throws an error if the vector to be hashed is longer than (2^32)/8: if(n 0 || n 536870912) /* protect against overflow to -ve */ error(_(length %d is too large for hashing), n); I occasionally work with vectors longer than this on 64-bit builds. Would it