Skip to content
Prev 31472 / 398506 Next

List of lists? Data frames? (Or other data structures?)

"R A F" <raf1729 at hotmail.com> writes:
You're not taking Brian's hint!:
Try this:

cls <- sapply(list(0,"",0,0,0),class)
# older versions may need cls <- c("numeric","character",rep("numeric",3))
aaa <- read.table( "file", colClasses=cls )