Re: [R] Writing list into csv file

2013-09-05 Thread arun
HI, No problem. I am using linux, may be there is a difference. You could try this:  for(i in seq_along(lst1)) write.table(lst1[[i]],file="Crish1.txt",append=TRUE,quote=FALSE,sep=",") #Will get some warning message. You can save .txt to .csv and open it in excel. The column headings would be

Re: [R] Writing list into csv file

2013-09-03 Thread arun
Hi, Please use dput() to show the example dataset: Not sure this matches with your original example though.. lst1<- structure(list(Contrasts = structure(list(linear = c(-0.437, -0.378, -0.201, 0.271, 0.743), emax1 = c(-0.799, -0.17, 0.207, 0.362, 0.399), emax2 = c(-0.643, -0.361, 0.061, 0.413