Dear R-Helpers,

I have a problem.

I want to export from R to .txt my data set(y):

YEARS PRODUCTS
1990     10
1995     15
1997     26
1998     29
2000     34


I used this code:

write.table(y,"D:/Desktop/export_table.txt").

This procedure run correctly, but i acquired this result:

 YEARS PRODUCTS
1           1990     10
2           1995     15
3           1997     26
4           1998     29
5           2000     34

The prolem is that R add a column in the export procedure, but it doesn't
give a name at column then this new column get the name of the first column
of my data set.

There is a command that a must add to my export procedure to not export this
column or to give at this a name?

Thank you in advance.


Sergio.

	[[alternative HTML version deleted]]

