I'm having problems with plots in rstudio server since I upgraded from Oracle Linux to RHEL7. When I execute plot(...), the characters are cryptic: usually some mathematic signs; even the numbers on the axis are cryptic. When I do the plots from inside of R, everything works fine; also when I'm saving the plot with
> png("~/cars.png") > plot(cars) > dev.off()
So it seems to be originating from rstudio somehow.
capabilities() and sessionInfo() give me the following output:
> capabilities() jpeg png tiff tcltk X11 aqua http/ftp sockets libxml fifo TRUE TRUE FALSE TRUE FALSE FALSE TRUE TRUE TRUE TRUE cledit iconv NLS profmem cairo ICU long.double libcurl TRUE TRUE TRUE FALSE TRUE TRUE TRUE TRUE > sessionInfo() R version 3.3.3 (2017-03-06) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Red Hat Enterprise Linux locale:  LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8  LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C  LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages:  stats graphics grDevices utils datasets methods base other attached packages:  ggplot2_2.1.0 shiny_1.0.5 loaded via a namespace (and not attached):  colorspace_1.2-6 scales_0.3.0 plyr_1.8.3 R6_2.1.1 htmltools_0.3.6 tools_3.3.3 gtable_0.1.2  yaml_2.1.13 Rcpp_0.12.10 grid_3.3.3 digest_0.6.8 xtable_1.7-4 httpuv_1.3.5 mime_0.4  munsell_0.4.2
Can you guess where the problem is? Thanks very much.