CRAN
d3Tree 0.2.0
Create Interactive Collapsible Trees with the JavaScript 'D3' Library
Released Jun 13, 2017 by Jonathan Sidi
Dependencies
htmlwidgets 0.9 magrittr 1.5 stringr 1.2.0 plyr 1.8.4 dplyr 0.7.4
Create and customize interactive collapsible 'D3' trees using the 'D3' JavaScript library and the 'htmlwidgets' package. These trees can be used directly from the R console, from 'RStudio', in Shiny apps and R Markdown documents. When in Shiny the tree layout is observed by the server and can be used as a reactive filter of structured data.
Installation
Maven
This package can be included as a dependency from a Java or Scala project by including
the following your project's pom.xml
file.
Read more
about embedding Renjin in JVM-based projects.
<dependencies> <dependency> <groupId>org.renjin.cran</groupId> <artifactId>d3Tree</artifactId> <version>0.2.0-b11</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.cran:d3Tree')
Test Results
This package was last tested against Renjin 0.8.2561 on Dec 22, 2017.