Displaying 1 result from an estimated 1 matches for "ch1d".
Did you mean:
ch1
2004 Jan 26
3
write.table file="file.txt" help
...ral input files for an analysis
program. It loops through the matrix read into R and picks out
submatrices and then creates a separate output file for each
submatrix. The loop works great, but I am having trouble getting all
the separate output files written.
The line I have is:
write.table(ch1d, file="C:/WINDOWS/Desktop/SNPs/haplo.txt",
row.names=F, col.names=F, append=F, quote=F)
Which works just fine if I just wanted to create a single file from the
loop. However, I need to somehow get it to change the name of the
output file ("haplo.txt") each time it goes thro...