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

From: Barry Rowlingson <B.Rowlingson_at_lancaster.ac.uk>
Date: Fri 27 Jan 2006 - 20:57:10 EST

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)

  Looks like perfectly good R to me.

  Except there's no exportData function. I assume this is an Splus function that R doesn't have, in which case telling us what it does might help. What does the Splus manual have to say about it?

I'm guessing R's write.table might be of use.

  Assuming its exportData that has you stuck - the other bits should allwork in R no problem, all it does is construct a path from parts of the MU.Cost object.

Barry



R-help@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 Received on Fri Jan 27 21:05:15 2006

This archive was generated by hypermail 2.1.8 : Sat 28 Jan 2006 - 02:14:00 EST