The R2wd package can be used to send things to word documents, that may work 
for you.  If you want this done automatically you could look at the txtStart 
and related functions in the TeachingDemos package and just change the parts 
that send plain text to the file (sink) with commands from R2wd.

An alternative may be to use emacs and ESS instead of Word, there R is more 
tightly integrated.

Hope this helps,

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


> -----Original Message-----
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of Faiz Rasool
> Sent: Thursday, May 20, 2010 3:24 AM
> To: R-help@r-project.org
> Subject: [R] Reading results of commands in Microsoft Word typed in the
> terminal window, A question from a Blind R user.
> 
> Hi all,
> 
> I would like to read the results of the commands type in the terminal
> window in Microsoft Word. As a blind user my options are somewhat
> limited and are time consuming if I want to see the results of the
> commands that I have type earlier. for example if  my first two
> commands were
>  x<-c(1,2,3,4,5)
> mean(x)
> and I have typed ten more commands after the first two commands it is
> not easy for me to see that what was the result of mean(x)
> but if I can somehow divert the results of the commands to Microsoft
> Word it is comparatively easy for me to see what was the result of
> mean(x) and what were the results of other commands. One another
> advantage of diverting R's output to Microsoft Word for me is that from
> there they can be easily copied into assignments as well.
> 
> Any ideas and suggestions are appreciated.
> 
> faiz.
> 
> 
> 
> 
> 
> 
> 
>       [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help@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.

______________________________________________
R-help@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.

Reply via email to