Re: [Rd] Saving nothing with save()

2011-12-22 Thread Barry Rowlingson
On Tue, Dec 20, 2011 at 6:40 PM, Martin Maechler wrote: > I've now changed the patch to only warn and only in the case > when the 'list' argument is missing(.). > > Martin Thanks Martin, that sounds great. This came about from a question on Stack Overflow, where a user was loading an R Data f

[Rd] Small inconsistency in help page unique - duplicated doesn't return indices.

2011-12-22 Thread Joris Meys
I read this in the help page of unique in 2.14.0, but I reckon it's not changed yet in 2.14.1 Under the section 'see also' is mentioned : duplicated which gives the indices of duplicated elements. Afaik duplicated doesn't return the indices but a logical vector. I propose to change to d

Re: [Rd] S4 NAMESPACE method imports and exports do not include (promoted?) generics

2011-12-22 Thread Martin Morgan
On 12/18/2011 11:04 AM, John Chambers wrote: On 12/17/11 6:02 AM, Michael Lawrence wrote: I guess what it boils down to is whether it makes sense for PkgB to have exportMethods(unique) when PkgB does not export(unique) or have PkgA in Depends. And whether it makes sense for PkgC to have import

[Rd] Chi-squared test p-value based on simulation.

2011-12-22 Thread Rolf Turner
Prompted by a (fairly!) recent question from Michael Fuller, I got to thinking about the issue of goodness-of-fit testing via chisq.test() using p-values obtained via simulation. I believe that such p-values are really valid only if there are no ties in the data. Since there are only finite num