[R] no response of the tab key

Sundar Dorai-Raj sundar.dorai-raj at pdf.com
Sun Apr 27 16:04:26 CEST 2003



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



More information about the R-help mailing list