[R] Outputting csv file from dataframe with columns in a particular order

analyst41 at hotmail.com analyst41 at hotmail.com
Wed Jan 12 16:16:16 CET 2011


I have a dataframe with columns "ID",'date","estimate","actual" (but
not necessarily in that order - I do a merge somewhere and that
somehow messes up the order of the columns).

How can I output it to a csv file with the columns in the order that I
want?

Thanks.



More information about the R-help mailing list