Displaying 1 result from an estimated 1 matches for "pr7826".
Did you mean:
pr1826
2007 Feb 16
0
Request: make as.POSIXlt generic
...SIXlt")) return(x)
if(inherits(x, "Date")) return(.Internal(Date2POSIXlt(x)))
tzone <- attr(x, "tzone")
if(inherits(x, "date") || inherits(x, "dates")) x <- as.POSIXct(x)
if(is.character(x)) return(fromchar(unclass(x))) # precaution PR7826
if(is.factor(x)) return(fromchar(as.character(x)))
if(is.logical(x) && all(is.na(x))) x <- as.POSIXct.default(x)
if(!inherits(x, "POSIXct"))
stop(gettextf("do not know how to convert '%s' to class \"POSIXlt\"",...