andkov / project-agrus

MIT License
0 stars 0 forks source link

"Error in f(...) : Graphics API version mismatch" error #12

Closed wibeasley closed 2 years ago

wibeasley commented 2 years ago

After upgrading R & RTools to 4.2, my Windows machine produces the error "Error in f(...) : Graphics API version mismatch" with ggplot2::ggsave().

According to this SO answer and comment underneath, I may need to reinstall cairo and/or R. Reinstalling ggplot2 didn't work

https://stackoverflow.com/a/68783659/1082435

wibeasley commented 2 years ago

solved by uninstalling & reinstall R and all of the packages.