This is a workshop that can be taught as a stand-alone workshop to introduce the qualitative data analysis tool (RQDA) in R. A releated blog post of this workshop has been posted on GCDI Tagging the Tower.
This workshop was written by Yuxiao Luo.
It was first taught at CUNY GC by Yuxiao Luo in the Fall of 2020 as a two hour online synchronous workshop.
Abstract:
In this hands-on workshop, we will learn how to get started with qualitative data analysis in R using RQDA package. No prior R knowledge is required since RQDA has a graphical user interface and can be used with mouse click. However, we highly recommend you learn the basics of R so you can use the functions/commands offered in the package, which can improve your efficiency of data analysis. You can take our online Introduction to R workshop (https://github.com/GC-DRI/R). This workshop will be held online with Zoom.
- Students should have R and RStudio installed, so they can install RQDA library in the local desktop and run it on RStudio.
- It would benefit students if they came to this workshop with some basic notions of how RStudio works. Any 5-10 minute long tutorial on Youtube should be enough for that, whoever is leading the workshop should give them the link.
- RQDA installation becomes a little complicated after R 4.0.0 was released, so a complete installation instruciton is drafted to help walk through the process. Do not let that scare you, it's free and useful after all.
As RQDA package has been removed from CRAN repository and you cannot use it with the new R version, this repository is intended to offer the necessary dependencies (packages and softwares) to those who still wants to use RQDA in R. Following the instructions below, you can manually install RQDA in your R 3.6.3 (2020-02-29) and use it like before. Please click RQDA official website for more details.
-
Check R version: R version 3.6.3 (2020-02-29); RStudio version doesn't matter; You can change the R version from "Tools/Global Options" in RStudio setting if you have more than two R version in one computer.
-
Install Rtools35 and don't install the newest Rtools40. After installing Rtools35, run the command below:
writeLines('PATH="${RTOOLS35_HOME}\\usr\\bin;${PATH}"', con = "~/.Renviron)
-
Go to SourceForge.net to download GTK+, use the link or download from the uploaded files above.
-
The following 3 packages can be downloaded from CRAN directly:
install.packages(c("RGtk2", “cairoDevice", “DBI”))
.- Update on July 2022: if you see an error msg saying "‘RGtk2’ is not available (for R version 3.6.3)", the reason is that it and cairoDevice have been archived on CRAN but can be installed from a copy on Togaware or downloaded from Packages folder in this repo.
- Install on Togaware
- On Windows
install.packages("https://access.togaware.com/RGtk2_2.20.36.2.zip", repos=NULL)
install.packages("https://access.togaware.com/cairoDevice_2.28.zip", repos=NULL)
- On Mac
install.packages("https://access.togaware.com/RGtk2_2.20.36.2.tgz", repos=NULL)
install.packages("https://access.togaware.com/cairoDevice_2.28.tgz", repos=NULL)
- On Windows
- Download and install manually: I also upload the compressed packages to the folder Packages, so you can download it from there and manually move them to the personal R library as specified in step 5 below.
- Install on Togaware
- Update on July 2022: if you see an error msg saying "‘RGtk2’ is not available (for R version 3.6.3)", the reason is that it and cairoDevice have been archived on CRAN but can be installed from a copy on Togaware or downloaded from Packages folder in this repo.
-
The following 4 packages were delisted from CRAN, please download from the uploaded files above and copy-paste the 4 folders to your personal R library (use command
.libPaths()
in Rstudio console to see the library location, ex.,C:\Users\Henry\Documents\R\win-library\3.6
). The four packages are: a.gWidgets
; b.gWidgetsRGtk2
; c.RQDA
; d.RSQLite
.
-
Check R version: R version 3.6.3 (2020-02-29); RStudio version doesn't matter; You can change the R version from "Tools/Global Options" in RStudio setting if you have more than two R version in one computer.
-
Rtools is only for Windows, Mac doesn’t need it.
-
Go to SourceForge.net to download GTK+ for Mac osx, use the link.
-
The following 3 packages can be downloaded from CRAN directly:
install.packages(c("RGtk2", “cairoDevice", “DBI”))
. -
The following 4 packages were delisted from CRAN, please download from the uploaded files above and copy-paste the 4 folders to your personal R library (Use command
.libPaths()
in Rstudio console to see the library location, i.e.desktop/Macintosh HD/Library/Frameworks/R.framework/Resources/library
). The four packages are: a.gWidgets
; b.gWidgetsRGtk2
; c.RQDA
; d.RSQLite
. -
Update on Jul 22, 2022: some of you might encounter an error msg about
igraph
when loadingRQDA
usinglibrary('RQDA')
.
- If the error says
igraph
is not installed, just install it withinstall.packages('igraph')
. - If you tried
install.packages('igraph')
and it doesn't work, try thisinstall.packages('igraph', type = 'binary')
.