write.table(as.double(res$pi), paste(testFolder,"pi",sep=""), row.names=F, col.names=F)
write.table(as.double(res$LLF), paste(testFolder,"LLF",sep=""), row.names=F, col.names=F)
write.table(as.double(res$S), paste(testFolder,"S",sep=""), row.names=F, col.names=F)
write.table(as.double(res$pi), paste(testFolder,"pi",sep=""), row.names=F, col.names=F)
write.table(as.double(res$LLF), paste(testFolder,"LLF",sep=""), row.names=F, col.names=F)
write.table(as.double(res$S), paste(testFolder,"S",sep=""), row.names=F, col.names=F)