Re: [Rd] write.csv

From: Florence Combes <fcombes_at_gmail.com>
Date: Thu 24 Nov 2005 - 16:17:34 GMT

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 <sven@schaltenbrand.de> 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]]
>
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

        [[alternative HTML version deleted]]



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri Nov 25 03:21:39 2005

This archive was generated by hypermail 2.1.8 : Thu 24 Nov 2005 - 21:21:10 GMT