[Rd] bug in ifelse (PR#6611)

svetlana.eden at vanderbilt.edu svetlana.eden at vanderbilt.edu
Tue Feb 24 21:20:02 MET 2004


> version
         _
platform i386-pc-linux-gnu
arch     i386
os       linux-gnu
system   i386, linux-gnu
status
major    1
minor    8.1
year     2003
month    11
day      21
language R
> aa <- as.POSIXct(c('1/1/1980','1/2/1980',''))
> ifelse(is.na(aa),as.POSIXct('1/3/1980'),aa)
Error in rep.int(unclass(x), times) : Argument "times" is missing, with
no default
>

submitted by Frank E Harrel Jr


-- 
Svetlana Eden        Biostatistician II            School of Medicine
                     Department of Biostatistics   Vanderbilt University



More information about the R-devel mailing list