I am starting to get into R development and I was following a tutorial that in a certain point opens the \"X11\" to display graphics but when that window opens I get the followi
What does this return:
capabilities("X11")
If you are on .Platform$OS.type == "windows"
then you may need to do some further research. I doubt that X11 is installed there by default. But your edit shows that you are on a mac so try this:
names(X11Fonts())
# results on my device
[1] "serif" "sans" "mono" "Times"
[5] "Helvetica" "CyrTimes" "CyrHelvetica" "Arial"
[9] "Mincho"
When I execute X11() at the R command console in the Mac-GUI I get an X11 window and choosing X11/About X11' I see that I have "XQuartz 2.1.6 (xorg-server 1.4.2-apple33)". I am using Leopard (still), but I thought that recent version of Macs installed X11 support by default and I don't remember needing to point R in the right direction to find it either.
I "followed" the admin manual, and set the lines in the .bashrc Setting for the new UTF-8 terminal support in Lion.
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
From http://www.mail-archive.com/r-sig-mac@r-project.org/msg01027.html