Hello,
You are reading 11 times the same file, 'toread'.
Assuming that 'toread' is a vector with 11 different filenames in it,
something like the following might do what you want.
for ( i in 1:11) myfiles[i] <- read.csv(toread[i], header = TRUE, sep=")
AS for the final "for loop", it does not
Dear R-help users,
I am quite new in R. I have multiple csv.files with different size. I would
like to read them by using a for- loop and parallel by reading I need to add
a new column which can be specified by myself.
But my for-loop does not work !
Could somebody give me any idea ?
Many thanks!
2 matches
Mail list logo