tomwenseleers / export

R package for streamlined export of graphs and data tables.
192 stars 35 forks source link

Graphics API version mismatch for R 4.1 #44

Closed felon02 closed 2 years ago

felon02 commented 2 years ago

I tried to export figures to ppt, i got error: Graphics API version mismatch I searched and found a solution at stackOverFlow: https://stackoverflow.com/questions/68753250/getting-the-error-graphics-api-version-mismatch however, I re-installed export, the question still exists. below is my command the session info

graph2ppt('test.pptx') Error in PPTX_(file, bg, width, height, offx = offx, offy = offy, pointsize = pointsize, : Graphics API version mismatch R.version.string [1] "R version 4.1.1 (2021-08-10)"

cvanderaa commented 2 years ago

Hello @felon02 , You need to reinstall Cairo, that did the trick in a previous issue: https://github.com/tomwenseleers/export/issues/42

felon02 commented 2 years ago

reinstalling Cairo didn't solve the problem. however, after reinstalling the whole packages that were necessary for export, the problem was solved. thank you a lot.

cvanderaa commented 2 years ago

Thanks for the update, I'm happy to here you could solve your problem!

sorenoneill commented 7 months ago

reinstalling Cairo didn't solve the problem. however, after reinstalling the whole packages that were necessary for export, the problem was solved. thank you a lot.

That is an ambiguous solution -- 'the whole packages' what does that entail?