Empty lot in R

I did a new installation of ARCH linux and therefore R version 2.15.1. But after plotting using the plot command, the graph window is always empty (nothing is displayed). Could there be a problem with the drivers or something else. I tried the graphics.off () function, but to no avail.

Modified Question:

The plot, however, is visible after resizing the chart window.

x<-c(1, 2, 3, 4, 5) y<-c(0.1, 0.3, 0.7, 1.11, 1.3) plot(x, y) > sessionInfo() R version 2.15.1 (2012-06-22) Platform: x86_64-unknown-linux-gnu (64-bit) locale: [1] C attached base packages: [1] stats graphics grDevices utils datasets methods base 

Modified Question:

Setting up X11.options (type = "nbcairo") works fine.

+7
source share
1 answer

Sometimes you need to run the initial plot.new() or dev.new() to initialize the graphics device. This is supposed to happen with plot.default (), which is a function that would be called when you gave plot two vectors.

There are options that can affect the calling of the graphics device. Use names(options()) to see the vector of the names of the options list. My system is configured in such a way that the () $ parameter sets the correct settings for the quartz device. This is an option that is determined when the grDevices package is downloaded. Cm:

 ?options # in the grDevices section. 

Using ARCH-Linux means that you are on a "less traveled path." There are many more experienced users of Debian (and versions of Debian such as Ubuntu) and RH Linuxen. I found two posts for the r-development of people using ARCH Linux, so this does not imply widespread knowledge. You might be better off heading to the r-devel mailing list, now that you have a behavior that shows that you can use interactive graphics drivers, but just crash in the original draw functionality.

+3
source

All Articles