[R] How do you convert this from S Plus to R - any help appreciated . thanks

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jan 27 00:54:45 CET 2006


There is an `R Data Import/Export' manual to guide you on how to do data 
export in R.  Please consult it.

I only know vaguely what format exportData(type="ASCII") uses, and it is 
probably easier to work out what you want and tailor write.table() to give 
that.  (I am not aware that the fine details of exportData are 
documented.)

On Fri, 27 Jan 2006, Briggs, Meredith M wrote:

> exportData(MU.Cost,paste("C:/RAUDSL/S",as.character(MU.Cost$Run.Id[1]),"
> .",as.character(MU.Cost$MU.Id[1]),".MU.PRICE.OUTPUT.txt",sep=""),append
> = FALSE,type="ASCII",quote=FALSE)

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list