Re: [Rd] Another wishlist for R

2004-01-27 Thread Patrick Burns
Duncan Murdoch wrote: On Mon, 26 Jan 2004 21:54:38 +, Patrick Burns [EMAIL PROTECTED] wrote : Prof Brian Ripley wrote: I knew this happened, but I did not know what people wanted. I can only see this being used interactively (it at all: I would use page), so that seems as good

Re: [Rd] Another wishlist for R

2004-01-26 Thread Duncan Murdoch
I like the head() and tail() functions -- nice additions. One question: is there a return type or class for head.function that would print without the quotes? E.g. head(plot.default) [1] function (x, y = NULL, type = \p\, xlim = NULL, ylim = NULL, [2] log = \\, main = NULL, sub = NULL,

Re: [Rd] Another wishlist for R

2004-01-26 Thread Peter Dalgaard
Duncan Murdoch [EMAIL PROTECTED] writes: I like the head() and tail() functions -- nice additions. One question: is there a return type or class for head.function that would print without the quotes? E.g. head(plot.default) [1] function (x, y = NULL, type = \p\, xlim = NULL, ylim =

Re: [Rd] Another wishlist for R

2004-01-26 Thread Duncan Murdoch
On 26 Jan 2004 15:17:01 +0100, Peter Dalgaard [EMAIL PROTECTED] wrote : Either setup so that cat() will be used to print it (add class + print method) or return noquote() The latter will give this effect: noquote(function (x, y = NULL, type = \p\, xlim = NULL, ylim = NULL, ) [1] function

Re: [Rd] Another wishlist for R

2004-01-26 Thread Prof Brian Ripley
On Mon, 26 Jan 2004, Duncan Murdoch wrote: On 26 Jan 2004 15:17:01 +0100, Peter Dalgaard [EMAIL PROTECTED] wrote : Either setup so that cat() will be used to print it (add class + print method) or return noquote() The latter will give this effect: noquote(function (x, y = NULL, type

Re: [Rd] Another wishlist for R

2004-01-26 Thread Patrick Burns
Prof Brian Ripley wrote: On Mon, 26 Jan 2004, Duncan Murdoch wrote: On 26 Jan 2004 15:17:01 +0100, Peter Dalgaard [EMAIL PROTECTED] wrote : Either setup so that cat() will be used to print it (add class + print method) or return noquote() The latter will give this effect:

Re: [Rd] Another wishlist for R

2004-01-24 Thread Prof Brian Ripley
Add to package utils in R-devel, after correction. I was surprised you had fallen into the 1:0 trap: x - character(0) head(x) [1] NA is not I think what anyone wants. On Wed, 21 Jan 2004, Patrick Burns wrote: I vote utils. Prof Brian Ripley wrote: Note that `R base' could mean the

Re: [Rd] Another wishlist for R

2004-01-24 Thread Patrick Burns
Brian, I'm surprised too -- good catch. Pat Prof Brian Ripley wrote: Add to package utils in R-devel, after correction. I was surprised you had fallen into the 1:0 trap: x - character(0) head(x) [1] NA is not I think what anyone wants. On Wed, 21 Jan 2004, Patrick Burns wrote: I

Re: [Rd] Another wishlist for R

2004-01-21 Thread Patrick Burns
Warnes, Gregory R wrote: 1. Add head and tail to R base. Patrick Burns has these: http://www.burns-stat.com/pages/public.html#genutil Very handy functions for checking data manipulation. How about we just add these to a package available on CRAN? How about we just make a package

Re: [Rd] Another wishlist for R

2004-01-21 Thread Prof Brian Ripley
Note that `R base' could mean the base package or the R distribution, and I don't know which is meant. Could one of you please clarify? The base package in R-devel is much reduced, but these could be a candidates for the `utils' (or perhaps `tools') packages. On Wed, 21 Jan 2004, Patrick

RE: [Rd] Another wishlist for R

2004-01-20 Thread Warnes, Gregory R
1. Add head and tail to R base. Patrick Burns has these: http://www.burns-stat.com/pages/public.html#genutil Very handy functions for checking data manipulation. How about we just add these to a package available on CRAN? How about we just make a package of the Burns Statistics

Re: [Rd] Another wishlist for R

2004-01-16 Thread Thomas Lumley
On Fri, 16 Jan 2004, Kevin Wright wrote: 10. More uniformity in quoting arguments. Uniformity outweighs cleverness/exceptions (The Art of Unix Programming). Functions accepting non-quoted arguments is.function(obj) args(predict) rm(a) help(help)

Re: [Rd] Another wishlist for R

2004-01-16 Thread Douglas Bates
Kevin Wright [EMAIL PROTECTED] writes: 12. Wanted: General-purpose mixed-models function/package The nlme library is very nice for mixed-effects models with nested effects, but it is not very general-purpose. Even Bates/Pinheiro have said several times in posts to R-help/S-news