The R Installation and Administration Manual discusses X11 issues in section C.1.
The manual states that X11 is the graphics device on Linux, and that:
"The ‘modern’ version of the ‘X11()’ device is based on ‘cairo’ graphics..."
The manual also describes Building the cairo devices in section 3.1.4, and that the instruction for doing this is:
make cairodevices
The full paragraph from the manual:
The devices based on cairographics (
svg,cairo_pdf,cairo_psand thetype = "cairo"versions ofpng,jpeg,tiffandbmp) are implemented in a separate DLLwinCairo.dllwhich is loaded when one of these devices is first used. It is not built by default, and needs to be built (after make all) bymake cairodevices.
To enable the building of these devices you need to install the staticcairographicslibraries built by Simon Urbanek at https://www.rforge.net/Cairo/files/cairo-current-win.tar.gz. Set the macro‘CAIRO_HOME’inMkRules.local. (Note that this tarball unpacks with a top-level directorysrc/: ‘CAIRO_HOME’needs to include that directory in its path.)
I hope these instructions help to resolve your problem.