Skip to content
Prev 176352 / 398502 Next

write text file as output without quotes

Hi,

you shouldn't call your variable try, see ?try for help on this function.

write.table has a paramter called quotes. just set this to FALSE to 
produce your wanted output:

t=data.frame(rep("a",5), rep("b",5))
write.table(t,"z:\\try.txt",row.names=F,col.names=F,sep="\t", quotes=FALSE)

regards,
Thomas Liebig


Ravi S. Shankar schrieb: