[R] output data in a fixed format

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri Jan 21 19:14:44 CET 2005


Shin, David wrote:

> Dear List,
> 
>  
> 
> I would like to write my output data to a file with the fixed format like
> what you can do in SAS.


See ?write.matrix in package "MASS".

Uwe Ligges




> For example: 
> 
>  
> 
> put 
> 
>  
> 
> @1    ( variable1 )   (10.5)
> 
> @11  ( variable 2)   ($5.)
> 
> :
> 
> :
> 
> etc.
> 
>  
> 
> Is there a way in "R" that would allow me to do the same thing?
> 
> Thank you for your answer in advance.
> 
>  
> 
> David
> 
>  
> 
>  
> 
> 
> **************************************************************************** 
> This email may contain confidential material. 
> If you were not an intended recipient, 
> Please notify the sender and delete all copies. 
> We may monitor email to and from our network. 
> ****************************************************************************
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.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