That could be a a problem with your graphics device or with the permissions for user shiny.
Try installing Cairo library in your system and Cairo package in R, or uninstalling it, if you already have it installed, also make sure you have set proper permissions for user shiny.