Skip to content
Prev 375547 / 398498 Next

Locating data source error in large file

Hi Rich,
This may not be the most efficient but it will identify the offenders.
function(i) { a <- try(as.POSIXct(foo[i]),silent=TRUE)
             "POSIXct" %in% class(a) })
HTH,
Eric



On Fri, Jul 20, 2018 at 9:58 PM, Rich Shepard <rshepard at appl-ecosys.com>
wrote: