[R] Reading Data from mle into excel?

Greg Snow Greg.Snow at imail.org
Tue May 31 17:23:10 CEST 2011


The sink function will write to a file what normally shows up on the screen after running some code.  So while it is possible to use it to capture the output of the mle command and read the results into excel, I don't see anything useful that you could then do with it in excel.

If you can tell us more about what your ultimate goal is, what you want to do with the results, then we can give better advice on either how to get the pieces you want into excel, or probably better, how do accomplish what you want in R without needing to involve excel at all.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Bazman76
> Sent: Tuesday, May 31, 2011 9:04 AM
> To: r-help at r-project.org
> Subject: Re: [R] Reading Data from mle into excel?
> 
> Can I use sink() to transfer the MLE results which are a S4 type object
> to a
> text file?
> 
> Can someone show me how to do this?
> 
> 
> --
> View this message in context: http://r.789695.n4.nabble.com/Reading-
> Data-from-mle-into-excel-tp3545569p3563385.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list