[Rd] data.entry bugs

From: Juan Santiago Ramseyer <juan_sr_at_uol.com.br>
Date: Fri, 11 May 2007 12:06:51 -0300


In session of R, occour following bug's in de (data.entry) function.

Traceback:

  1. dataentry(odata, as.list(Modes))
  2. de(..., Modes = Modes, Names = Names)
  3. data.entry(posto, fecha, serie = registros, status)
  4. onEditaSerie(serie, "serie")
  5. function () serie <- onEditaSerie(serie, "serie")()
  6. doTryCatch(return(expr), name, parentenv, handler)
  7. tryCatchOne(expr, names, parentenv, handlers[[1]])
  8. tryCatchList(expr, classes, parentenv, handlers)
  9. tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1]], quote(doTryCatch))) call <- sys.call(-4) dcall <- deparse(call)[1] prefix <- paste("Error in", dcall, ": ") LONGCALL <- 30 if (nchar(dcall) > LONGCALL) prefix <- paste(prefix, "\n\t", sep = "") } else prefix <- "Error : " msg <- paste(prefix, conditionMessage(e), "\n", sep = "") .Internal(seterrmessage(msg[1])) if (!silent && identical(getOption("show.error.messages"), TRUE)) { cat(msg, file = stderr()) .Internal(printDeferredWarnings()) } invisible(structure(msg, class = "try-error"))})
  10. try(function () serie <- onEditaSerie(serie, "serie")())

Possible actions:

1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace

Selection: 3

Process R exited abnormally with code 70 at Fri May 11 11:55:23 2007

The function call is:
onEditaSerie <- function(lista,nomeLista) {   posto <- lista$posto
  fecha <- chron2txt(lista$data)
  registros <- lista$serie
  status <- lista$status
  listaaux <- de(posto,fecha,serie=registros,status)   serieaux <- list(posto=listaaux$posto,

                   data=textotime2tempo(listaaux$fecha),
                   serie=listaaux$registros,
                   status=listaaux$status)
  assign(nomeLista,serieaux,envir=.GlobalEnv) }

The computer/system is:
CPU: AMD64
System: Fedora Core 6
GUI: KDE/Emacs/ESS

Juan Santiago Ramseyer.
Eng Recursos Hídricos



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 11 May 2007 - 15:09:54 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 11 May 2007 - 18:33:22 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.