[R] add a column to an exported data.frame

Liaw, Andy andy_liaw at merck.com
Tue Mar 30 20:37:32 CEST 2004


If this is on [U,Li]nix, you can write the extra column(s) to another file,
then use the `paste' command (see man paste) to do that at the shell prompt.
If you're on Windows, you can try to find a version of `paste' that works on
Windows.

HTH,
Andy

> From: Rogério Rosa da Silva
> 
> Dears R users,
> 
> Is there a way to add a column of results to an exported 
> data.frame (exported 
> with write) ?
> 
> Thanks
> 
> Rogério
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
>




More information about the R-help mailing list