[R] Creating ODS RTF-style output in R XXXX

Dieter Menne dieter.menne at menne-biomed.de
Tue Aug 30 08:00:20 CEST 2011


Dan Abner wrote:
> 
> I have been using the sink() function as follows:
> 
> x<-rnorm(100)
> sink("C:\\Users\\dan\\Desktop\\Current Events\\myhw.txt",
>  append=TRUE,split=TRUE)
> m1<-c(Mean=mean(x),SD=sd(x),Min=min(x),Max=max(x))
> m1
> sink()
> 
> ===
> 
> Is it possible to create tabular style output very much like the ODS RTF
> STYLE=JOURNAL protocol in SAS (which returns a nicely formatted table with
> table lines and easily opened in MS Word)?
> 
> 

Not with sink, but odfWeave can do this, but it's a bit more work initially.

Dieter


--
View this message in context: http://r.789695.n4.nabble.com/Creating-ODS-RTF-style-output-in-R-XXXX-tp3777714p3778018.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list