Dear all, I want to produce a tab separated text file but R 1.6.2 does not respond to the tab key on my keyboard. When I paste: write.table(alla.obt.rar0, "obt.txt", sep=" ", quote=F, row.names=F) into the console it looks like this: write.table(alla.obt.rar0, "obt.txt", sep="", quote=F, row.names=F) Has anyone had a similar problem? I use Win Xp on a Dell machine. Thanks in advance! Sincerely, Tord ----------------------------------------------------------------------- Tord Sn?ll Avd. f v?xtekologi, Evolutionsbiologiskt centrum, Uppsala universitet Dept. of Plant Ecology, Evolutionary Biology Centre, Uppsala University Villav?gen 14 SE-752 36 Uppsala, Sweden Tel: 018-471 28 82 (int +46 18 471 28 82) (work) Tel: 018-25 71 33 (int +46 18 25 71 33) (home) Fax: 018-55 34 19 (int +46 18 55 34 19) (work) E-mail: Tord.Snall at ebc.uu.se Check this: http://www.vaxtbio.uu.se/resfold/snall.htm!
Tord Snall wrote:> Dear all, > I want to produce a tab separated text file but R 1.6.2 does not respond to > the tab key on my keyboard. > > When I paste: > write.table(alla.obt.rar0, "obt.txt", sep=" ", quote=F, row.names=F) > > into the console it looks like this: > > write.table(alla.obt.rar0, "obt.txt", sep="", quote=F, row.names=F) > > Has anyone had a similar problem? > > I use Win Xp on a Dell machine. > >Use sep="\t" to insert tabs. regards, sundar
try : write.table(alla.obt.rar0, "obt.txt", sep="\t", quote=F, row.names=F) Tord Snall wrote:>Dear all, >I want to produce a tab separated text file but R 1.6.2 does not respond to >the tab key on my keyboard. > >When I paste: >write.table(alla.obt.rar0, "obt.txt", sep=" ", quote=F, row.names=F) > >into the console it looks like this: > >write.table(alla.obt.rar0, "obt.txt", sep="", quote=F, row.names=F) > >Has anyone had a similar problem? > >I use Win Xp on a Dell machine. > > >Thanks in advance! > > >Sincerely, >Tord > >----------------------------------------------------------------------- >Tord Sn?ll >Avd. f v?xtekologi, Evolutionsbiologiskt centrum, Uppsala universitet >Dept. of Plant Ecology, Evolutionary Biology Centre, Uppsala University >Villav?gen 14 >SE-752 36 Uppsala, Sweden >Tel: 018-471 28 82 (int +46 18 471 28 82) (work) >Tel: 018-25 71 33 (int +46 18 25 71 33) (home) >Fax: 018-55 34 19 (int +46 18 55 34 19) (work) >E-mail: Tord.Snall at ebc.uu.se >Check this: http://www.vaxtbio.uu.se/resfold/snall.htm! > >______________________________________________ >R-help at stat.math.ethz.ch mailing list >https://www.stat.math.ethz.ch/mailman/listinfo/r-help > >. > > >