MyNixOS website logo
Description

A Wrapper of the JavaScript Library 'jsTree'.

Creates interactive trees that can be included in 'Shiny' apps and R markdown documents. A tree allows to represent hierarchical data (e.g. the contents of a directory). Similar to the 'shinyTree' package but offers more features and options, such as the grid extension, restricting the drag-and-drop behavior, and settings for the search functionality. It is possible to attach some data to the nodes of a tree and then to get these data in 'Shiny' when a node is selected. Also provides a 'Shiny' gadget allowing to manipulate one or more folders, and a 'Shiny' module allowing to navigate in the server side file system.

jsTreeR

R-CMD-check

A wrapper of the JavaScript library jsTree. This package is similar to shinyTree but it allows more options. It also provides a Shiny gadget allowing to manipulate one or more folders.

Installation

Install from CRAN:

install.packages("jsTreeR")

Or install the latest development version (on GitHub):

remotes::install_github("stla/jsTreeR")

Getting started

Please check the Shiny examples (see ?jstreeExamples).

The 'folder gadget':

The 'tree navigator' Shiny module:

The 'tree navigator' has not all the features of the 'folder gadget', it only allows to navigate in the server side file system and to select some files. But the 'folder gadget' loads all the structure of the root folder(s), while the 'tree navigator' loads the contents of a clicked folder only when this one is clicked by the user. And as a Shiny module, it is possible to build around it a more elaborated Shiny app.


Copies of license agreements

The 'jsTreeR' package as a whole is distributed under GPL-3 (GNU GENERAL PUBLIC LICENSE version 3).

It includes other open source software components. The following is a list of these components:

  • jQuery, https://github.com/jquery/jquery
  • jsTree, https://github.com/vakata/jstree
  • jstree-bootstrap-theme, https://github.com/orangehill/jstree-bootstrap-theme
  • jsTreeGrid, https://github.com/deitch/jstree-grid
  • PDFObject, https://github.com/pipwerks/PDFObject
  • SuperTinyIcons, https://github.com/edent/SuperTinyIcons

Full copies of the license agreements used by these components are included in the file LICENSE.note.

Metadata

Version

2.6.0

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows