graphics - R `dev.new()` freezes -
this started occur: when type command dev.new()
, window stays frozen, , can't ctrl+c
stop it. have kill r
process in terminal. running 64-bit centos 6.7
, r 3.2.1
. here output sessioninfo()
:
> sessioninfo() r version 3.2.1 (2015-06-18) platform: x86_64-redhat-linux-gnu (64-bit) running under: centos release 6.7 (final) locale: [1] lc_ctype=en_us.utf8 lc_numeric=c lc_time=en_us.utf8 lc_collate=en_us.utf8 lc_monetary=en_us.utf8 [6] lc_messages=en_us.utf8 lc_paper=en_us.utf8 lc_name=c lc_address=c lc_telephone=c [11] lc_measurement=en_us.utf8 lc_identification=c attached base packages: [1] graphics grdevices utils datasets stats methods base other attached packages: [1] ggplot2_1.0.1 data.table_1.9.4 plyr_1.8.3 reshape2_1.4.1 vimcom_0.9-9 setwidth_1.0-4 colorout_1.1-0 loaded via namespace (and not attached): [1] rcpp_0.12.0 digest_0.6.8 mass_7.3-44 chron_2.3-47 grid_3.2.1 gtable_0.1.2 magrittr_1.5 scales_0.3.0 [9] stringi_0.5-5 proto_0.3-10 tools_3.2.1 stringr_1.0.0 munsell_0.4.2 colorspace_1.2-6
has come across issue? perhaps of relevance, able use gui application creates plot devices cairodevice
, no issues.
edit: bit more info - when running r --vanilla
, same behavior occurs. same calling plot
directly (e.g. plot(rnorm(1e2))
), , making call ggplot
.
edit 2: in case wasn't confusing enough, able plot without issue on home system (where sessioninfo
gives same output, aside packages loaded via namespace). believe same centos packages installed, well.
edit 3: add bit more info, in addition (rgtk2
) gui mentioned still works, can call cairo
command line directly , plotting works without issue way. seems specific base plotting.
i had same problem on sl6.7. not r problem rather xorg-x11-server-xorg update crashed it.
just downgrade package , restart x-session , can plot again.
~$ yum downgrade http://ftp.scientificlinux.org/linux/scientific/6.6/x86_64/updates/security/xorg-x11-server-xorg-1.15.0-26.sl6.x86_64.rpm
to make permanent disable upgrade of package in yum.conf
~$ echo "exclude=xorg-x11-server-xorg" >> /etc/yum.conf
Comments
Post a Comment