qdap
qdap copied to clipboard
Fatal RStudio error when loading {qdap}
Problem
Loading {qdap} causes RStudio to crash
Versions
qdap: 2.4.4 qdapDictionaries: 1.0.8 qdapRegex: 0.7.6 qdapTools: 1.3.4
R: 4.2.0 RStudio: 2022.2.1.461 Windows: 10 x64 build 22000
Things I've Tried
Removing and installing {qdap} from CRAN using (restarting R/RStudio in-between remove and install):
remove.packages("qdap")
install.packages("qdap")
Removing and installing {qdap} from GitHub using (restarting R/RStudio in-between remove and install):
devtools::install_github("trinker/qdap")
Loading required packages before loading {qdap} (all packages load OK until {qdap})
library(qdapDictionaries)
library(qdapRegex)
library(qdapTools)
library(RColorBrewer)
Loading {qdap} in R (not RStudio): Works! But not my preferred R GUI
I am having the same error
Same here.
Tried loading qdap with empty environment.
qdap 2.4.3
RStudio 2022.07.1+554 "Spotted Wakerobin" Release (7872775ebddc40635780ca1ed238934c3345c5de, 2022-07-22) for Windows Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.8 Chrome/69.0.3497.128 Safari/537.36
R version 4.2.0 (2022-04-22 ucrt) -- "Vigorous Calisthenics" Copyright (C) 2022 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit)
Java Version 8 Update 351
JAVA_HOME set before loading qdap:
> Sys.setenv(JAVA_HOME="C:/Program Files/Java/jre1.8.0_351")
>
> Sys.getenv("JAVA_HOME")
[1] "C:/Program Files/Java/jre1.8.0_351"
64-bit versions R and JAVA used.
Just like mentioned in the initial post, qdap loads outside RStudio. Below warnings are returned in this case:
Warning messages:
1: package 'qdap' was built under R version 4.2.1
2: package 'qdapRegex' was built under R version 4.2.1
3: package 'qdapTools' was built under R version 4.2.1
Will try updating R from 4.2.0 to 4.2.1.
Attempt to add qdap:: prefix to one of the qdap functions in my code resulted in a FATAL RStudio crash - IDE become unusable.
RStudio kept crashing after restart and removal of .Rhistory and .RData files.
Reinstalling...
@mjaniec2013 : you mean you're reinstalling, RStudio, all of R, qdap, or some combination of those?
@mjaniec2013 : you mean you're reinstalling, RStudio, all of R, qdap, or some combination of those?
Both, actually + updating R & refreshing all packages installed.
Cleaning RStudio required deleting user files in AppData folders, etc.
All the above should be completed now. Will test qdap again, soon.