R: ggdendro packaging for disppear label printing

When I use the large ggdendro package to build my tree, I run into a problem: once all the tree labels that it produces suddenly disappeared.

When I run the following code on my local computer and on the server, I get different results. In the server version there are no shortcuts on the local machine and shortcuts.

fit = ClustOfVar::hclustvar(X.quanti = mtcars) ggdendro::ggdendrogram(as.dendrogram(fit),rotate = TRUE) 

Server Version (OK): enter image description here

Local version of Windows 7 (without shortcuts): enter image description here

I also printed out session information for links.

dput compare (same) enter image description here :

+5
source share
1 answer

This issue has been fixed in the latest version of ggdendro, version 0.1.19

The main issue is described in issue # 24 . This error was detected when changing behavior in ggplot2 and causes a problem with scales package version 0.4. To be clear, the error was in ggdendro , not ggplot2 or scales , but it never popped up when using earlier versions of scales .

This version is not yet included in CRAN, so use devtools to get the latest version:

 devtools::install_github("andrie/ggdendro") 

Update Version 0.1-20 of ggdendro now available in CRAN.

+2
source

All Articles