Re: [Rd] Why does typeof() modify an object's "named" field?

2013-03-23 Thread R. Michael Weylandt
On Fri, Mar 22, 2013 at 7:43 PM, Josh O'Brien wrote: > Some other functions that query the nature of an object (e.g. class(), > length(), attributes()) do not modify the object's "named" field. Is > there a reason that typeof() should? > Because it's not implemented as a primitive and the closure

Re: [Rd] fortune?

2013-03-23 Thread Achim Zeileis
On Wed, 20 Mar 2013, Patrick Burns wrote: Brian Ripley: If things are not readily available in R it is always good to pause and reflect if there might be a good reason. In the R-help thread: How to get the t-stat for arima()? Thanks for the nice quote, added to the devel version on R-Forge

Re: [Rd] double in summary.c : isum

2013-03-23 Thread Prof Brian Ripley
On 20/03/2013 12:56, Matthew Dowle wrote: Hi, Please consider the following : x = as.integer(2^30-1) [1] 1073741823 sum(c(rep(x, 1000), rep(-x,999))) [1] 1073741824 Tested on 2.15.2 and a recent R-devel (r62132). I'm wondering if s in isum could be LDOUBLE instead of double, like

Re: [Rd] double in summary.c : isum

2013-03-23 Thread Matthew Dowle
On 23.03.2013 12:01, Prof Brian Ripley wrote: On 20/03/2013 12:56, Matthew Dowle wrote: Hi, Please consider the following : x = as.integer(2^30-1) [1] 1073741823 sum(c(rep(x, 1000), rep(-x,999))) [1] 1073741824 Tested on 2.15.2 and a recent R-devel (r62132). I'm wondering if s i

[Rd] sysdata.rda vs. rda files in data directory

2013-03-23 Thread Ulrike Grömping
Dear developeRs, my package FrF2.catlg128 holds large catalogues and is supposed to gain additional ones. All the catalogues are intended for the user. So far, the catalogues were stored in the data directory, and LazyData was "no". I understand that this is not considered wise any more (if it