OHDSI Home | Forums | Wiki | Github

Graphics API version mismatch error in ShinyApp

I’m setting up a ShinnyApp for my study and I’m getting the following for several of the tabs:
Error: Graphics API version mismatch.

How do I fix this error.

My R code is below and the configuration file are attached.
appForCovid.R.txt (927 Bytes)
config-for-covid.json.txt (1.6 KB)

I’m using the following versions:

“R version 4.3.2 (2023-10-31 ucrt)”

java version “11.0.11” 2021-04-20 LTS
Java™ SE Runtime Environment 18.9 (build 11.0.11+9-LTS-194)
Java HotSpot™ 64-Bit Server VM 18.9 (build 11.0.11+9-LTS-194, mixed mode)

Error message is shown below, full console output is attached:
console-output.txt (3.2 KB)
Warning: Error in : Graphics API version mismatch
132:
130: startPNG
129: drawPlot
115: reactive:plotObj
99: drawReactive
86: renderFunc
85: output$cohortMethod-cmResults-cmFullResults-propensityScoreDist-psDistPlot
4: runApp
3: print.shiny.appobj
1: source

Thanks,
John

t