[R] Unidentified warning message in Portuguese

Alberto Monteiro albmont at centroin.com.br
Mon Sep 25 20:12:13 CEST 2006

What is the meaning of this message?

  Warning message:
  Realizando coerção de LHD para uma lista 

I tried to do something like this:

test <- function(x) {
  rval <- NULL
  m <- mean(x)
  s <- sd(x)
  rval$m <- m
  rval$s <- s
  y <- x[abs(x - m) > 3 * s]
  rval$y <- y # this is the critical line

except that in the example above the critical line does not give
any error, while in the real (much bigger) example it does, for
things like:

test(c(runif(100), 100))

Alberto Monteiro

More information about the R-help mailing list