Re: [R] avoid row/column indexing in capture.output

2010-06-14 Thread David Winsemius
On Jun 14, 2010, at 6:46 PM, David Winsemius wrote: On Jun 14, 2010, at 6:19 PM, Subodh Acharya wrote: Hi everyone, This might be a very petty thing but Its not working for me. I want to export an output to a txt file but without indexing. Unfortunately we cannot see the structure of "outp

Re: [R] avoid row/column indexing in capture.output

2010-06-14 Thread David Winsemius
On Jun 14, 2010, at 6:19 PM, Subodh Acharya wrote: Hi everyone, This might be a very petty thing but Its not working for me. I want to export an output to a txt file but without indexing. Unfortunately we cannot see the structure of "output" but from the result you are getting it looks like

[R] avoid row/column indexing in capture.output

2010-06-14 Thread Subodh Acharya
Hi everyone, This might be a very petty thing but Its not working for me. I want to export an output to a txt file but without indexing. Here is what I have tried to do outfile<- function(Time, var.names, output) { var.names = c(names(para)) for(i in 1: ncol(output)){ cat(length(var.names)