> "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
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 <-
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
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
[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
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
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
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 = "",
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
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
10 matches
Mail list logo