Re: [Rd] [R] plot cdf

2006-05-01 Thread Martin Maechler
> "FrPi" == François Pinard <[EMAIL PROTECTED]> > on Mon, 1 May 2006 17:51:06 -0400 writes: FrPi> [Martin Maechler] >> The default is 'ask = dev.interactive(orNone = TRUE)' >> where dev.interactive() has also been extended with the >> 'orNone' argument. FrPi> Thank

Re: [Rd] expression objects

2006-05-01 Thread Gabor Grothendieck
Try this: e <- as.expression("A") identical(parse(text = as.character(e)), e) # FALSE On 5/2/06, Parlamis Franklin <[EMAIL PROTECTED]> wrote: > if 'e' is a vector of mode 'expression', will the following always > return TRUE: > > identical(e, parse(text = as.character(e))) ? > > > (e <-

[Rd] expression objects

2006-05-01 Thread Parlamis Franklin
if 'e' is a vector of mode 'expression', will the following always return TRUE: identical(e, parse(text = as.character(e))) ? > (e <- expression(x, y, z, 200*f%/%d, sin(e))) expression(x, y, z, 200 * f%/%d, sin(e)) > identical(e, parse(text = as.character(e))) [1] TRUE i have been relying o

[Rd] methods for @ operator

2006-05-01 Thread Parlamis Franklin
i often find myself having a list of similarly-classed S4 objects and needing a list containing a particular extracted slot from those objects. so i did the following: > setMethod("slot", signature(object = "list"), + function(object, name) + lapply(object, function(i) sl

Re: [Rd] [R] plot cdf

2006-05-01 Thread François Pinard
[Martin Maechler] >The default is 'ask = dev.interactive(orNone = TRUE)' >where dev.interactive() has also been extended with the 'orNone' >argument. Thanks, Martin! :-) (As I'm not aware of the meaning of this `orNone' argument, I cannot fully appreciate yet the extent of your solution.) `?d

[Rd] row.names != rownames for data.frame?

2006-05-01 Thread Seth Falcon
With a recent R 2.4 I notice the following: df <- data.frame(x=1:2) > row.names(df) [1] "1" "2" > rownames(df) [1] 1 2 This seems related to recent changes in the internal storage format of the row names data for data frames. The man page for rownames says: For a data frame, 'rownames' an

Re: [Rd] format.info() versus format.default(): Comments please

2006-05-01 Thread Prof Brian Ripley
format.info() is used in no CRAN package (except in lists of known functions) and nowhere in R itself so I think you could do whatever you wanted by way of extending it. However, I don't think it going to be easy, as apart from scientific those arguments are handled via postprocessing by prett

[Rd] format.info() versus format.default(): Comments please

2006-05-01 Thread Duncan Murdoch
The format.info() function currently takes args (x, digits = NULL, nsmall = 0), while format.default() takes many more: function (x, trim = FALSE, digits = NULL, nsmall = 0, justify = c("left", "right", "centre", "none"), width = NULL, na.encode = TRUE, scientific = NA, big.mark = "",

Re: [Rd] example(ask = .) - default ?

2006-05-01 Thread Martin Maechler
Diverting to R-devel. After looking at more use cases, etc, I think I would like to the change the default of 'ask' from ask = dev.interactive(orNone = TRUE) # as of two hours ago to ask = echo && dev.interactive(orNone = TRUE) since all the cases I've looked which specify 'ech

[Rd] wishlist: summary for regression models to report number of omitted cases because of NAs (PR#8824)

2006-05-01 Thread groemping
Full_Name: Ulrike Grömping Version: 2.3.0 OS: Windows Submission from: (NULL) (84.190.150.205) Whenever any observations are excluded from a regression analysis (lm, glm, and other similar procedures) because of missing values, I would find it very useful if this fact is directly visible from the