I don't understand very well if your problem is rownames or column names,
but what you want must be :
row.names=FALSE and/or col.names=FALSE, which are arguments of the function
'write.table()'
don't think you need to load any particular package for that.
see also :
----------------------------------------------------------------------------------------------------
'write.csv' and 'write.csv2' provide convenience wrappers for
writing CSV files. They set 'sep', 'dec' and 'qmethod', and
'col.names' to 'NA' if 'row.names = TRUE' and 'TRUE' otherwise.
----------------------------------------------------------------------------------------------------
from ?write.table
hope this helps.
Florence.
On 11/24/05, Sven Schaltenbrand <[EMAIL PROTECTED]> wrote:
>
> hallo,
>
> i have a problem by writing a csv file
> the first colum is filled with index numbers from 1 to n.
> i have to unique two csv files once a week while one file is always the
> same.
> can anybody tell me, how to write the dataset into a csv file without the
> first row of the indexnumbers.
> x[,-1] does not wok as it eliminates the first "interesting" colum.
> col.names is not accepted by r (do i habe to start a package first? which
> one?)
>
> thx
>
> sven
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel