Displaying 2 results from an estimated 2 matches for "datecols".
2009 Aug 21
1
trouble with Vista & reading files
...tCol])
eTestData[,lotCol] <- rep(dataFiles[1],length(eTestData[,1]))
tmp <- try(scan(paste(dataDir,"/", hdrFiles[1], sep=""), what =
"character",
sep="\n", quiet=TRUE), silent=TRUE)
if (is.null(attr(tmp,"class"))) {
dateCols <- grep("[0-9][0-9]/[0-9][0-9]/20[01][0-9]",tmp)
hdrDF <-
data.frame(tmp[(dateCols-1)],tmp[dateCols],stringsAsFactors=FALSE)
hdrDF$LotDate <- rep(hdrDF[1,2],length(hdrDF[,1])) ; hdrDF <- hdrDF[-1,]
hdrDF[1,1] <- tmp[(dateCols-2)][1]
names(hdrDF) <- c(slot...
2011 Apr 06
1
Package diveMove readTDR problem
Hi,
I am trying to read my TDR data into R using the readTDR function for the
diveMove package.
> seal <- readTDR("file location and name here", dateCol=1, depthCol=3,
> speed=FALSE, subsamp=1, concurrentCols=4:5)
But I keep getting the following error:
> Error: all(!is.na(time)) is not TRUE
All my columns to have values in them (there are no empty records)
The manual