Error with plot functions: Graphic API version mismatch
0
0
Entering edit mode
16 months ago

Hello! I have been trying to use Vlnplot(Data[[1]], features = "nFeature_RNA") to draw a violin plot, but I get the following error:

Error in RStudioGD() : Shadow graphics device error: r error 4 (Error in grDevices:::png("C:/Users/A0367~1.GHO/AppData/Local/Temp/Rtmp4ciOvX/9288a30261f54326afc6b948b6e47626.png", : Graphics API version mismatch )

I tried updating packages like ragg and Cairo but the error still remained. this is my sessioninfo()

sessionInfo() R version 4.3.1 (2023-06-16 ucrt) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19044)

Vlnplot Seurat single-cell • 1.2k views
ADD COMMENT
0
Entering edit mode

See this stackoverflow post for a potential solution. In short, go to options and set the graphics backend to AGG.

ADD REPLY

Login before adding your answer.

Traffic: 2874 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6