[R] Batch Import

tod.strugnell@yale.edu tod.strugnell at yale.edu
Thu Mar 29 22:17:54 CEST 2001


I  would like to batch import a series of files. Every imported file
will get the same prefix followed by a digit corresponding to it's
identity (prefix.1, prefix.2, prefix.3, etc).

the general structure I assume would be something like:

for (i in 1:i) {
        prefix.i <- function("data", i)
}

At present I have not found any pointers/methods on how to accomplish
this. The
methods I have tried end up writing the new data overtop of the old
using the same filename.  Any suggestions or resources that I have
missed or should refer to would be appreciated.

Tod Strugnell
Dept. of Pathology
Yale University



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list