[R] text formatting

Mike Prager mike.prager at noaa.gov
Fri Sep 21 21:33:27 CEST 2007


stephen bond <stenka1 at go.com> wrote:

> Does R have any functions for C/Fortran style text formatting when a 
> number needs to be output right-justified in a fixed length field?
> 
> say '%2d %3d %5.3f' 

?formatC

-- 
Mike Prager, NOAA, Beaufort, NC
* Opinions expressed are personal and not represented otherwise.
* Any use of tradenames does not constitute a NOAA endorsement.



More information about the R-help mailing list