hi r users:
  I have a datadset and want to write into a file .

when i use :
write.table(u_bar, file = "u_test.txt")

the data in the outpuf file is shown as below which included the
row number from "1" to "14" and colname .e.g."X32N"

How could I output the numbers and excluded the colname and row number?

thank you .

"X32N" "X60N" "X89N" "X139N" "X179N" "X212N" "X263N" "X298N" "X32S" "X60S"
"X89S" "X139S" "X179S" "X212S" "X263S" "X298S"
"1" 5 4.3 4.3 5.9 7.8 4.9 6.4 4.4 5.4 5 4.7 5 " NAN" 7.4 2.3 4.4
"2" 4.7 4.3 4.3 5.9 9.4 4.8 6.4 4.4 7 5 5.5 5 " NAN" 4.6 2.3 5
"3" 4.7 4.6 5.2 4.9 9.4 4.8 5.2 5 7 5.1 5.5 5.9 " NAN" 4.6 2 5
"4" 5 4.6 5.2 4.9 9.4 5.4 5.2 5 6.3 5.1 6.7 5.9 " NAN" 5.3 2 6.3
"5" 5 5 6.2 4.2 9.4 5.4 7 6.3 6.3 2.4 6.7 6.2 " NAN" 5.3 5.2 6.3
"6" 5.4 5 6.2 4.2 9.8 5.3 7 6.3 5.1 2.4 6.5 6.2 " NAN" 4.8 5.2 5.6
"7" 5.4 3.9 6.5 5.4 9.8 5.3 7.3 5.6 5.1 1.7 6.5 6.2 " NAN" 4.8 2.3 5.6
"8" 5.1 3.9 6.5 5.4 9.8 6.2 7.3 5.6 1.9 1.7 5.9 6.2 " NAN" 7.1 2.3 6.5
"9" 5.1 3.8 7 5.9 9.8 6.2 6.3 6.5 1.9 1.9 5.9 5.8 " NAN" 7.1 -0.4 6.5
"10" 5.3 3.8 7 5.9 9.4 6.1 6.3 6.5 7 1.9 6.4 5.8 " NAN" 2 -0.4 6.7
"11" 5.3 5.2 5.6 6.6 9.4 6.1 5.9 6.7 7 7.8 6.4 4.6 " NAN" 2 0.4 6.7
"12" 5.4 5.2 5.6 6.6 9.4 6.7 5.9 6.7 7.4 7.8 6.4 4.6 " NAN" 5.2 0.4 5.6
"13" 5.4 5.9 5.3 5.8 9.4 6.7 7.4 5.6 7.4 5.6 6.4 4.4 " NAN" 5.2 0.2 5.6
"14" 5.6 5.9 5.3 5.8 7.8 7 7.4 5.6 5.9 5.6 7.6 4.4 " NAN" 4.3 0.2 7.6

-- 
TANG Jie
Email: totang...@gmail.com
Tel: 0086-2154896104
Shanghai Typhoon Institute,China

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to