[Rd] Missing y label

Therneau, Terry M., Ph.D. therneau at mayo.edu
Fri Sep 1 21:28:23 CEST 2017


Martin,
   Thanks for taking a quick look.  Yes it looks like it must be something local.
I've done the following to make sure I have a clean box:
   reboot
   sudo apt-get update
   sudo apt-get upgrade

Rerun the "svn up" command and do a
    make distclean
    svn up
    tools/rsync-recommended
    ./configure
    make

The problem persists in 2017-09-01 r73179
I pulled the source code for 3.4-1 and compiled it, the problem persists.

I then did sudo apt-get install R, which installs version 3.2.3 on the machine.  The plots 
work as expected there.

The new plots are the same size, same layout and margins, but the text and lines are 
definitely thinner.  According to the package manager I have the latest version of 
texlive-fonts-extra.

I don't see how to get it to pull a newer compiled version than 3.2.

Anything else that would help?

Terry T.




On 09/01/2017 02:37 AM, Martin Maechler wrote:
>      > 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 ??



More information about the R-devel mailing list