[R] How do you convert this from S Plus to R - any help appreciated . thanks
Bill.Venables at csiro.au
Fri Jan 27 13:11:40 CET 2006
This particular call to exportData is probably equivalent in effect to
the R call:
file = paste("C:/RAUDSL/S",
append = FALSE)
as Barry sort of guesses, but in general exportData handles a wide
variety of data export facilities, including writing to odbc connexions,
so other uses of exportData would need the RODBC library in R and
functions like sqlSave or sqlUpdate.
write.table is also an S-PLUS function as well, but exportData is
generally a whole lot faster.
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Barry Rowlingson
Sent: Friday, 27 January 2006 7:57 PM
To: r-help at stat.math.ethz.ch
Subject: Re: [R] How do you convert this from S Plus to R - any help
appreciated . thanks
Briggs, Meredith M wrote:
> = 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.
R-help at stat.math.ethz.ch mailing list
PLEASE do read the posting guide!
More information about the R-help