Faiz Rasool
2010-May-20 09:23 UTC
[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]]
Greg Snow
2010-May-21 19:37 UTC
[R] Reading results of commands in Microsoft Word typed in the terminal window, A question from a Blind R user.
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.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 Faiz Rasool > Sent: Thursday, May 20, 2010 3:24 AM > To: R-help at 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 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.
Tal Galili
2010-May-22 11:09 UTC
[R] Reading results of commands in Microsoft Word typed in the terminal window, A question from a Blind R user.
Hello Faiz, I just wrote an extended tutorial that (I believe) fully addresses your question, here: http://www.r-statistics.com/2010/05/helping-the-blind-use-r-by-exporting-r-console-to-word/ (It is based on Greg Snows answer on the other thread, coupled with the article I once wrote on some of the main features R2wd offers. I suggest you read it as well: http://www.r-statistics.com/2010/05/exporting-r-output-to-ms-word-with-r2wd-an-example-session/ ) Let me know if it helps, and good luck to you! Best, Tal ----------------Contact Details:------------------------------------------------------- Contact me: Tal.Galili@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English) ---------------------------------------------------------------------------------------------- On Thu, May 20, 2010 at 12:23 PM, Faiz Rasool <faiz7r@gmail.com> wrote:> 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. >[[alternative HTML version deleted]]
Maybe Matching Threads
- Problem in performing goodness of fit test in R.
- Two questions, first about contingency tables, and second about table () and data.frame (), from a visually impaired user.
- How to Save the residuals of an LM object greater or less than a certin value to an R object?
- couple of how-to-do it in R questions regarding corelations and mean and SD of likert items
- Getting sink to work with “message” on R 2.11.0 - what did I miss?