Hi,

Sometimes, I need to do some hard work when exporting files using gdata
package.

It will be very useful if the justify parameter of write.fwf can receive
vectors. In some jobs I need to left and right justify in different columns
of the same file.

Nowadays, I do a lot ow this working in preparing manually each file.

I was wondering something like


justify=c(rep('right',3),'left',rep('right',2),rep('left',10))

in a file that has 15 columns.


Best,
Leandro

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to