Skip to content
Prev 44792 / 398506 Next

<no subject>

1. I guess you meant "in" rather than "%in%" inside the for()?

2. It is probably easier to store the results in a list in such situations;
e.g.,

fList <- list.files()
datList <- vector(mode="list", length=length(fList))
names(datList) <- fList
for (f in fList) datList[[f]] <- scan(f)

Cheers,
Andy
------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments,...{{dropped}}