Site icon R-bloggers

Resources For Using R With Screen Readers

[This article was first published on rOpenSci - open tools for open science, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

R is a language and environment for statistical computing. There are several tools and approaches for interacting with R, but not all are accessible with screen readers. This guide provides an overview of the tools and techniques available to screen reader users across different operating systems, with practical tips and resources to help them navigate the R environment. This guide may not be complete, but I hope it serves as a valuable starting point. We welcome suggestions from other users to enhance it further.

Where to start ?

The set of tool and resources in this section apply for all operating systems.

The R Project for Statistical Computing is the site where you can download R for Windows, Linux, and Mac.

When you install R, it has basic statistical functions. We call this installation “base R.” Users add functionality by writing packages in the R language. Dr. Jonathan Godfrey has written a package called BrailleR that produces statistical output in text or Braille format that are more accessible than base R functions. Dr. Godfrey’s website has information about this package as well as general advice about using R as a Braille or screen reader user.

The Blind R Users mailing list is another place you can go for answers about using R.

How do you interact with R?

Possibilities include:

IDEs and Operating Systems

An IDE is software that supports programmers in developing software efficiently by providing a set of tools in the same environment. There are several IDEs in the market. IDEs have several advantages over working at the command prompt or in the R GUI:

The popular RStudio IDE is not accessible for screen reader users on any platform. It is very important for teachers to understand that blind students won’t have access to this environment and so won’t be using its buttons or shortcuts. The same applies to those who write documentation.

Windows

Many blind R users use the Visual Studio Code (VS Code) IDE with screen readers. The R extension for VS code provides additional functionality to make working in R more convenient. A second option for working with R in Windows is to install Windows Subsystem for Linux(WSL). With WSL, you can run a Linux command line environment on Windows. You can access the Terminal using the NVDA or JAWS screen readers. An R session in the terminal would be accessible, or you could read input and output in the text editor of your choice from either the Windows or Linux operating system. This would be a great option for people who are experienced NVDA or JAWS users who want to learn about both R and Linux.

Mac and Linux

The software listed below works together to provide an environment for working with R:

The last time I tested VScode on a Mac, it was not fully accessible with VoiceOver.

Useful R Features

R Markdown and quarto are useful R tools. They allow you to make a single text file containing both plain text and R code. The resulting document can show both text explanation of your work and R output. These tools produce several file types as output. The HTML output is easy to navigate in similar ways to sighted colleagues. This accessibility makes these tools ideal for reports, homework assignments, websites, and slide presentations.

I haven’t included documentation here because it’s hard to find documentation that doesn’t assume the use of RStudio.

Learning to Use R

It’s important to practice reading and learning from R’s documentation, but it takes time to learn to understand it. There are lots of helpful resources out there including:

Summary

This guide has outlined several ways for screen reader users to work with R across different operating systems, highlighting accessible tools like BrailleR, VS Code, and Emacs. By exploring these options, users can choose the tools that best fit their needs and preferences.

To leave a comment for the author, please follow the link and comment on their blog: rOpenSci - open tools for open science.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Exit mobile version