trinker / qdap

Quantitative Discourse Analysis Package: Bridging the gap between qualitative data and quantitative analysis
http://cran.us.r-project.org/web/packages/qdap/index.html
175 stars 44 forks source link

java version error #259

Closed nkandrian closed 4 years ago

nkandrian commented 4 years ago

Hi there,

I am trying to attach qdap after installing it with

install.packages("qdap")

but get the following error message:

> library(qdap)
Error: package or namespace load failed for ‘qdap’:
 .onLoad failed in loadNamespace() for 'xlsx', details:
  call: fun(libname, pkgname)
  error: Your java version is 14.  Need 1.5.0 or higher.`

Since 14 is clearly higher than 1.5.0, I do not understand how to resolve this. Note that I had issues getting rJava to run end ended up re-installing Java using this: https://stackoverflow.com/questions/44632292/how-to-install-specific-java-version-using-homebrew

My session info is:

─ Session info ───────────────────────────────────────────────────────────────────────────────
 setting  value                       
 version  R version 3.6.3 (2020-02-29)
 os       macOS High Sierra 10.13.6   
 system   x86_64, darwin15.6.0        
 ui       RStudio                     
 language (EN)                        
 collate  en_CA.UTF-8                 
 ctype    en_CA.UTF-8                 
 tz       Europe               
 date     2020-04-01 

I checked the similar issues extensively but have not come across this one. Can anybody help? Thanks in advance!

nkandrian commented 4 years ago

Just realized, this is the wrong place for this issue since it's related to the xlsx package. For others having the same error: https://github.com/colearendt/xlsx/issues/156