-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathRQDA setup.r
51 lines (34 loc) · 1.42 KB
/
RQDA setup.r
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
###################################################
# Intro to RQDA (R Qualitative Data Analysis)
# Yuxiao Luo
# https://github.com/YuxiaoLuo
# 09/25/2020
# check R version: R version 3.6.3 (2020-02-29); RStudio version doesn't matter
# you can adjust it from "Tools/Global Options" in R setting if you
# have more than two R version in one computer
print(version)
setwd("D:/RQDA")
# 1.
# Install Rtools35 (don't install the newest Rtools40)
# https://cran.r-project.org/bin/windows/Rtools/history.html
# After installing Rtools35, run the command below
# writeLines('PATH="${RTOOLS35_HOME}\\usr\\bin;${PATH}"', con = "~/.Renviron")
# 2.
# Go to SourceForge.net to download GTK+, use the link below:
# https://sourceforge.net/projects/gladewin32/files/gtk%2B-win32-runtime/2.10.11/gtk-2.10.11-win32-1.exe/download?use_mirror=versaweb&modtime=1175123376&big_mirror=0
# 3.
# the following 3 packages can be downloaded from CRAN directly
# install.packages("RGtk2")
# install.packages("cairoDevice")
# install.packages("DBI")
# 4.
# the following 3 packages were delisted from CRAN, please go to shared
# folder to copy-paste the 4 folders to your personal R library (ex., "C:\Users\Henry\Documents\R\win-library\3.6")
# 1. gWidgets
# 2. gWidgetsRGtk2
# 3. RQDA
# 4. RSQLite
# Note: don't change the folder name (they are case-sensitive)
# Well done, let's run RQDA
library(RQDA)
RQDA()