Entering edit mode
hello everyone ,
whenever i am trying to plot in R. Any R plot labels don't show up instead of text it just shows some blank boxes.
so can you suggest me something ?
thnkx Megha Varshney
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
What code are you using? Any errors? What is the output of sessionInfo()?
the session info is here and i am trying to plot correlation values.. but the same problem is also occurring with simple box plot and histograms.
> sessionInfo()
R version 3.2.0 (2015-04-16)
Platform: x86_64-unknown-linux-gnu (64-bit)
Running under: Red Hat Enterprise Linux
locale:
[1] LC_CTYPE=en_IN.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_IN.UTF-8 LC_COLLATE=en_IN.UTF-8
[5] LC_MONETARY=en_IN.UTF-8 LC_MESSAGES=en_IN.UTF-8
[7] LC_PAPER=en_IN.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_IN.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] grid stats4 parallel stats graphics grDevices utils
[8] datasets methods base
other attached packages:
[1] lattice_0.20-31 cummeRbund_2.8.2 Gviz_1.10.11
[4] rtracklayer_1.29.6 GenomicRanges_1.21.12 GenomeInfoDb_1.5.6
[7] IRanges_2.3.8 S4Vectors_0.7.3 fastcluster_1.1.16
[10] reshape2_1.4.1 ggplot2_1.0.1 RSQLite_1.0.0
[13] DBI_0.3.1 BiocGenerics_0.15.1
actually in starting i was getting some error and on internet i get solution that is
sudo yum install xorg-x11-fonts-75dpi.noarch and sudo yum install xorg-x11-fonts-100dpi.noarch then suddenly i notice this problem
My understanding is that R is supposed to use the cairo device by default, but I have also had problems plotting (using Ubuntu), where it seems to want to use X11 instead. I have had good results forcing R to use cairo, by putting this in my .Rprofile file:
no still I am not getting any label in plot instead of that it just showing some blank boxes.