[R] formated output

Carlos Ortega carlos.ortega at minorplanetspain.com
Mon Mar 22 01:21:15 CET 2004


Javier,

You can do that with "write.table".

Regards,
Carlos.


-----Mensaje original-----
De: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] En nombre de javier garcia - CEBAS
Enviado el: domingo, 21 de marzo de 2004 21:48
Para: r-help at stat.math.ethz.ch
Asunto: [R] formated output 


Hi all;
I need to create ASCII files as output from R and I'm using sink(), cat(), 
and paste() for this.
My problem is that the ASCII files hace several columns, and I would like to

know if intermediate columns (the second one for example) could be alineated

to the right. My values are integer ranging from 1 to 1000.

Thanks a lot.

Best regards,

Javier

______________________________________________
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