
Hello,


I want to write a data.frame with 10 different entries x (by index y)? into ten different csv-files. 
In every output file should be one of the ten numbers of x. 


I tried this one, but I can't write into ten different files, like test1.csv to test10.csv:


x <- rnorm(10)
y <- c(1:10)
z <- data.frame(y,x)

n <- nrow(z)
for (i in 1:n) write.csv(z$x[i], file="test[i].csv")


Can anyone help me?



Yours,



Guido



---
Dr. Guido Moeser
Diplom Volkswirt
Diplom Sozialwissenschaftler

E-Mail: GMoeser@aol.com

________________________________________________________________________
Bei AOL gibt's jetzt kostenlos eMail f?r alle.  Klicken Sie auf AOL.de um heraus zu finden, was es sonst noch kostenlos bei AOL gibt.

	[[alternative HTML version deleted]]

