Chapter 1 Introduction

Access to information is crucial for a blind person’s success in education, but transferring the knowledge about the existence of techniques into actually being able to perform those tasks is what will make that blind person employable. This e-book is based on the author’s experiences as a blind academic in statistics who has often been called on for advice by blind students studying statistics and their sighted lecturers wanting to provide the best possible support. Unfortunately, there is little information available in academic journals or the public domain to offer the statistics lecturer who is about to teach a blind student for the first time. That is changing however.

At the 2009 Workshop on E-Inclusion in Mathematics and Sciences, I was able to meet other researchers and scientists who are also concerned about the low rate of blind people entering the sciences in a broad sense and the mathematical sciences in particular. (Godfrey 2009) presented my first formalized summary of what I saw as the current state of affairs for blind people taking statistics courses; that work discussed what was possible in theory, but lacked evidence of what was happening in practice. A collaboration with the only other blind person to gain employment as a full-time Lecturer in Statistics led to a more comprehensive review of what we believe is the current state of affairs for blind students learning statistics. (Godfrey and Loots 2015) present a wide range of issues that blind students and their teachers must overcome, often through use of the best software options available today. R (R Core Team 2022) has featured as a key element in my recommendations for teaching statistics to blind students (Godfrey 2009) because it offers the greatest opportunity for meeting the needs of blind users.

An invitation to attend the second “Summer University” event was taken up in mid 2011; the purpose of this event was to show blind students and disability support staff from universities what software and hardware is available to improve the success rates of blind students entering the sciences. This was my first direct opportunity to show blind students how R could be used by them, and the relative merit that R has for them over alternative statistical software. I observed blind students working with R and struggling more than I thought was truly necessary. I knew I could do something about it and have spent a lot of time doing so ever since. An R Journal article (Godfrey 2013b) followed which exposed the needs of blind users to the R community and also announced the initial development of the BrailleR package (Godfrey et al. 2022).

The BrailleR package is my attempt to help blind students and their lecturers. It is built on functions that I use to work as a lecturer in statistics. It aims to make up for the inability blind users have to work with the same extension tools their sighted peers are using, including the increasing number of graphical user interface (GUI) and integrated development environment (IDE) options.

1.1 Why will I use the BrailleR package as a novice?

Blind users will want to use the BrailleR package while they are novice R users, but may also want to continue using some of the tools as their skill levels increase. Each of the following reasons for using the BrailleR package are expanded on by way of examples that go into more detail in subsequent chapters of this text.

1.1.1 BrailleR improves the accessibility of graphical information

BrailleR converts standard graphs created by standard R commands into a textual form that can be interpreted by blind students who cannot access the graphs without printing the image to a tactile embosser, or who need the extra text to support any tactile images they do create.

At present this is limited to only a few graph types found in base R functionality. An example of a histogram is presented in Chapter 4.

1.1.2 BrailleR helps gain access to the content of the R console

BrailleR makes text output (that is visually appealing) more useful for a blind user who is reliant on synthesized speech or braille output to interpret the results. The first example of this kind presented in Chapter 4 shows how the summary statistics for a dataset can be made easier for a screen reader user.

1.1.3 BrailleR includes convenience functions

Many analyses get repeated over and over again with different variables. Some people like a graphical user interface (GUI) but none of the GUIs developed for R to date are accessible by screen reader users.

BrailleR includes some functions which generate pro forma analyses. When these functions are employed, they generate an HTML document that includes the analysis in an easy to use format. The R commands used to create the analysis are stored in an R script file so that a user can modify the commands if changes are necessary. These functions are introduced in Chapter 7.

1.2 Why will I use the BrailleR package if I am not a novice?

I think some of the reasons for using the package while you are a novice R user remain relevant to more-experienced users too, but perhaps the main reason for continuing to use BrailleR is that of efficiency. The convenience functions introduced in Chapter 7 give you a starting point for analyses. Behind those convenience functions was an R markdown file that generated the R script and the HTML document. Getting into markdown is a great idea and will not take you long to learn.

BrailleR also includes some tools for helping run your R jobs without running R. Experienced users do this all the time so these tools aren’t really meant for blind users alone, but as blind people often find little inefficiencies tiresome, I’ve incorporated the tools I use for my own efficiency when I think they might prove useful to other blind people.

In summary, the BrailleR package is my attempt to help blind students and their lecturers. It is built on functions that I use to work as a lecturer in statistics. It aims to make up for the inability blind users have to work with the same extension tools their sighted peers are using, including the increasing reliance on GUIs and integrated development environment (IDE) options.

1.3 Why will I use this book?

This book has been compiled for a variety of reasons. The obvious reason is that the BrailleR package has many tools that cannot be demonstrated using the standard documentation options found in many packages. Some of the material found here did start in package vignettes, but the time taken to re-work them all was slowing down development of the package.

A key feature of this book is that it was written by a blind person, using only the tools the book suggests, to create a book that can be read by blind people. This end to end workflow is proof that the BrailleR package helps make some actions possible, and others easier for a blind person to undertake. All too often, blind people find themselves using substitute workflows that are painfully slow compared to the tools being used by our sighted peers. I’m not suggesting that the tools here will make a blind person more efficient than all of their peers, but being able to use the most efficient tools that sighted people could choose to use does matter. Using these tools will cut the disadvantage a blind person has to a minimum; I’d even go so far as to suggest that the gap between a blind person and a sighted person’s efficiency is reduced if we use the best tools on offer as compared to the gap we’d suffer if we chose to use inferior tools.

1.4 What this book is not

This book is not a comprehensive guide to using R. There are now hundreds of books a blind (or sighted) person could choose to wade through, some are good, some are great, and some are truly awesome! There are also plenty of resources on the internet that are tired and really should be avoided. I am keen to promote those texts that can be easily worked with by a blind user. I’ll mention them as we get to the right point in this book for doing so, but now is a good time to mention a few that have really made a difference to me and creation of this book.

I am truly reliant on the resources offered by help pages hosted by RStudio. I often include RStudio.com in my list of search terms. In adition, many of the individuals I hold in very high regard have close ties to RStudio.

Yihui Xie’s work on the knitr package (Xie 2022) and his books on writing documents using reproducible research techniques (Xie 2015) are key to my success and in my opinion, have also led to making life much easier for blind users to read the work of others and to create new content for themselves.

I frequently use several books written by Hadley Wickham and his collaborators. In particular, I rate the R packages book (Wickham 2015), the Advanced R book [Wickham (2014a)’, and the R for Data Science book (Grolemund and Wickham 2016).

References

Godfrey, A. Jonathan R. 2009. “Are Statistics Courses Accessible?” In Proceedings of the Workshop on e-Inclusion in Mathematics and Science 2009, 72–80. Fukuoka, Japan.
———. 2013b. “Statistical Software from a Blind Person’s Perspective: R Is the Best, but We Can Make It Better.” The R Journal 5 (1): 73–79.https://journal.r-project.org/archive/2013-1/godfrey.pdf .
———. 2015. “Advice from Blind Teachers on How to Teach Statistics to Blind Students.” Journal of Statistics Education 23 (3): 1–28. http://www.amstat.org/publications/jse/v23n3/godfrey.pdf.
Godfrey, A. Jonathan R., Debra Warren, James Thompson, Paul Murrell, Timothy Bilton, and Volker Sorge. 2022. BrailleR: Improved Access for Blind Users. https://github.com/ajrgodfrey/BrailleR.
Grolemund, G., and H. Wickham. 2016. R for Data Science. O’Reilly Media. http://r4ds.had.co.nz/.
R Core Team. 2022. R: A Language and Environment for Statistical Computing. Vienna, Austria: R Foundation for Statistical Computing. https://www.R-project.org/.
———. 2014a. Advanced r. CRC Press. https://adv-r.hadley.nz.
———. 2015. R Packages. O’Reilly Media. http://r-pkgs.had.co.nz/.
Xie, Yihui. 2015. Dynamic Documents with R and Knitr. 2nd ed. Boca Raton, Florida: Chapman; Hall/CRC. http://yihui.name/knitr/.
———. 2022. Knitr: A General-Purpose Package for Dynamic Report Generation in r. https://yihui.org/knitr/.