[Rd] Missing y label
Martin Maechler
maechler at stat.math.ethz.ch
Fri Sep 1 09:37:42 CEST 2017
>>>>> Therneau, Terry M , Ph D <therneau at mayo.edu>
>>>>> on Thu, 31 Aug 2017 16:08:24 -0500 writes:
> My on-screen plots with the latest build are acting
> strange. If the y label is longer than some small value it is not shown.
[MM: moved the important part of the script up here:]
plot(1:5, 1:5, ylab="abcde") # has a y label
plot(1:5, 1:5, ylab="abcdefghi") # no label
That is amazing.
I don't see a problem here (Linux Fedora F24, or F26, in both
case using GNOME as windowing system),
also with this, both interactive or pdf :
plot(1:5, 1:5, ylab="abcdefghi or even quite an order of magnitude longer")
pdf("long-ylab.pdf")
plot(1:5, 1:5, ylab="abcdefghi or even quite an order of magnitude longer")
dev.off(); system("evince long-ylab.pdf &")
I have no further idea but guess this must be specific to your platform.
Did you try the same thing with R 3.4.1?
Did you install both in the same way -- from the sources ??
Best,
Martin
> Here is the script of a job. A pdf graph is fine. I use xubuntu as the windowing system.
> tmt-local1334% R --vanilla
> R Under development (unstable) (2017-08-31 r73172) -- "Unsuffered Consequences"
> Copyright (C) 2017 The R Foundation for Statistical Computing
> Platform: x86_64-pc-linux-gnu (64-bit)
[.........]
>> sessionInfo()
> R Under development (unstable) (2017-08-31 r73172)
> Platform: x86_64-pc-linux-gnu (64-bit)
> Running under: Ubuntu 16.04.2 LTS
> Matrix products: default
> BLAS: /usr/local/src/R-devel/lib/libRblas.so
> LAPACK: /usr/local/src/R-devel/lib/libRlapack.so
> locale:
> [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
> [3] LC_TIME=en_US.UTF-8 LC_COLLATE=C
> [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
> loaded via a namespace (and not attached):
> [1] compiler_3.5.0
More information about the R-devel
mailing list