[R] Error in make.names when trying to read.table in if statement

Juliet Hannah juliet.hannah at gmail.com
Fri Sep 25 23:49:34 CEST 2009


Does this work for you?

data_list <- list()
filepattern="modrate*"
all_files <- list.files(pattern=filepattern)
data_list <- lapply(all_files, read.table,header=TRUE,sep=",")




More information about the R-help mailing list