Dear readers,
I need to prevent the output of very large
integers in scientific format.
So I use format, but now the integers in the
resulting tab delimited output file are padded.
I tried justify="none" or "left", width=0 but nothing
helps.
1\tA\t10000\t10000
2\ta\t 1\t1
^^^
thank you very much for your suggestions,
ido
> vals <- c(10000,1)
> df <- data.frame(c("A","b"),format(vals),vals)
>
write.table(df,"test.tab",sep="\t",header=FALSE,quote=FALSE)
> df <-
data.frame(c("A","b"),format(vals,just="none"),vals)