[BlindRUG] RMarkdown and R on windows 10

Jooyoung jooyoung at psu.edu
Fri Mar 2 20:41:16 UTC 2018


I am sending this to  correct the conda commands to install and update
pandoc as it was jumbled up in the previous message. Use the following two
lines to get and update Pandoc if you use Anaconda:

> conda install -c conda-forge pandoc -y
> conda update -c conda-forge pandoc -y

Hope this helps.
Sincerely,

JooYoung

-----Original Message-----
From: BlindRUG [mailto:blindrug-bounces at nfbnet.org] On Behalf Of Jooyoung
via BlindRUG
Sent: Friday, March 2, 2018 3:33 PM
To: 'Blind R Users Group' <blindrug at nfbnet.org>
Cc: Jooyoung <jooyoung at psu.edu>
Subject: Re: [BlindRUG] RMarkdown and R on windows 10

Hello Faiz,

Below are my answers to your questions.

1. Does JAWS read R terminal on Windows 10 64bit system?

Yes, if you use plain R console (AKA R terminal) instead of either R GUI or
R Studio, you can read through the R terminal window as it is just running
on CMD window.

FYI, due to some technical changes in recent Windows 10 creator update, only
JAWS 2018 or NVDA reads synchronously the R terminal results.
If you use JAWS version prior to 2018, you can still use JAWS cursor to
manually review the output.

2. Regarding some basic understanding of Rmd

I would like to recommend you read the following resource about R Markdown
written by one professor at CMU to deepen your understanding of Rmd in
general:
http://www.stat.cmu.edu/~cshalizi/rmarkdown/

3. Required packages for Rmd workflow

Usually, some basic packages for Rmd work involve the following:

knitr, rmarkdown, LaTeX, pandoc

A. You can install both knitr and rmarkdown using the following command:
> chooseCRANmirror(ind=1)
> install.packages(c('knitr', 'rmarkdown'), depen=T)

B. Then download and install LaTeX packages for Windows by visiting the
following link: https://miktex.org/2.9/setup

C. Pandoc installation: there are two ways to get pandoc for your system.

First option,  if you use Anaconda Python, use the following commands to
easily get pandoc and update in your CMD window:

> conda install -c conda-forge pandoc -y conda update -c conda-forge 
> pandoc -y

Second option, if you do not use Anaconda, then manually download and
install the latest Pandoc on your system by visiting the following link:
https://github.com/jgm/pandoc/releases/tag/2.1.1

4. Rmd editor

You can compose Rmd by using any text editor like Notepad, Wordpad, MS word,
etc. But you need to save the file as *.Rmd.

There exist some editors specialized for Rmd; however, most of them are not
accessible. Dr. Godfrey, a host of this mailing list, has developed an
accessible Rmd editor using wxPython, and you can try that if you have
Python 2.7 and wxPython package installed on your system.

In order to use the editor, first install BrailleR package and look up the
function called "WriteR." The online version of the function description can
be found at
https://www.rdocumentation.org/packages/BrailleR/versions/0.26.0/topics/Writ
eR

Personally I've been using both notepad and emacs back and forth when
drafting Rmd files.

5. Final notes concerning table creation for multiple regression

I know making table with special characters for statistical results is quite
challenging for a blind person, but you can achieve that using Rmd.

Since I am pursuing my Ph.D. in the field that requires APA6 format, I have
been extensively using the following R package which makes me free from any
cumbersome work in creating statistical table for report:
https://github.com/crsh/papaja

Other journal article templates in Rmd format can be achieved using
"rticle": https://github.com/rstudio/rticles

Hope this helps.

Best wishes,

JooYoung

-----Original Message-----
From: BlindRUG [mailto:blindrug-bounces at nfbnet.org] On Behalf Of faiz rasool
via BlindRUG
Sent: Friday, March 2, 2018 7:43 AM
To: blindrug at nfbnet.org
Cc: faiz rasool <faiz7r at gmail.com>
Subject: [BlindRUG] RMarkdown and R on windows 10

Dear list,

I  have two quick questions.

I have  recently learned about RMarkdown, but I have the following
confusions.

Firstly, I do not know which Rmarkdown edditor to download, when I type
RMarkdown on google, I notice many different options, but, I do not know
which is the best option with Jaws.

My goal is to have the results of around 8 formatted multiple regression
tables. So I'd like to know the quickist way to achieve
what I want.   If Markdown and knitr package  can be quickly learned,
then, i'd appreciate if list members share their experiences with markdown
and knitr.

I also read about stargazer, but, I do not have any prior experience of
exporting formatted  results from R,  so, I'd like to learn from list
members that which package I should instal  and try to learn.

Finally, does Jaws  read the contents of R terminal on 64 bit windows?

Regards,
Faiz.

_______________________________________________
BlindRUG mailing list
BlindRUG at nfbnet.org
http://nfbnet.org/mailman/listinfo/blindrug_nfbnet.org
To unsubscribe, change your list options or get your account info for
BlindRUG:
http://nfbnet.org/mailman/options/blindrug_nfbnet.org/jooyoung%40psu.edu
The list archive can be viewed at:
http://www.nfbnet.org/pipermail/blindrug_nfbnet.org
More information and useful links about using R as a blind person can be
obtained at:
http://R-Resources.massey.ac.nz

Look for help using R commands by reading the accessible e-book "Let's Use R
Now" compiled by Jonathan Godfrey at:
http://R-Resources.massey.ac.nz/lurn/front.html


_______________________________________________
BlindRUG mailing list
BlindRUG at nfbnet.org
http://nfbnet.org/mailman/listinfo/blindrug_nfbnet.org
To unsubscribe, change your list options or get your account info for
BlindRUG:
http://nfbnet.org/mailman/options/blindrug_nfbnet.org/sjysky%40gmail.com
The list archive can be viewed at:
http://www.nfbnet.org/pipermail/blindrug_nfbnet.org
More information and useful links about using R as a blind person can be
obtained at:
http://R-Resources.massey.ac.nz

Look for help using R commands by reading the accessible e-book "Let's Use R
Now" compiled by Jonathan Godfrey at:
http://R-Resources.massey.ac.nz/lurn/front.html





More information about the BlindRUG mailing list