[R] 'strange' R graphics problem | Linux...
Evan Cooch
evan.cooch at gmail.com
Wed Oct 14 15:36:44 CEST 2015
So, am running 3.2.2 on a Centos 6.xx box. Code executes fine, but I'm
having a heck of a time with graphics. I don't think this is related to
R in the broad sense, but how it is interacting with graphics on the
system. here is a description of the problem.
1\ something simple: test <- rnorm(100)
2\ try to generate a simple histogram using hist(test)
3\ what happens is that a terminal window pops up (as I would expect for
the graphic), but rather than showing the histogram, its essentially a
screen-capture of the original terminal window in which I ran the
script. Said second terminal window is not responsive, at all -- can't
even close it short of opening another shell, and killing the process
from the CLI.
4\ I get the exact same problem even if I try a simple plot.new() --
generate a new terminal window, but with the same problem 'attributes'
as described above.
For what it works, when I fire up gnuplot, terminal type set to X11 --
and basic gnuplot graphics (e.g., plot sin(x)) work perfectly. Other
graphics seem to work fine too. Just nothing I try to plot using R.
Anyone have any ideas as to what to look for/try? Here is the output of
sessionInfo() -- nothing obvious that I can see.
R version 3.2.2 (2015-08-14)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: CentOS release 6.7 (Final)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
More information about the R-help
mailing list