All Projects → vue-r → vueR

vue-r / vueR

Licence: Unknown, MIT licenses found Licenses found Unknown LICENSE MIT LICENSE.md
vue.js for R

Programming Languages

r
7636 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to vueR

Reactable
Interactive data tables for R
Stars: ✭ 345 (+163.36%)
Mutual labels:  shiny, htmlwidgets
Collapsibletree
Create Interactive Collapsible Tree Diagrams in R using D3.js
Stars: ✭ 126 (-3.82%)
Mutual labels:  shiny, htmlwidgets
Dt
R Interface to the jQuery Plug-in DataTables
Stars: ✭ 451 (+244.27%)
Mutual labels:  shiny, htmlwidgets
d3Tree
htmlwidget that binds d3js collapsible trees to R and Shiny to make an interactive search tool
Stars: ✭ 79 (-39.69%)
Mutual labels:  shiny, htmlwidgets
grillade
Grid sytem for shiny apps or rmarkdown and to create htmlwidgets matrix
Stars: ✭ 16 (-87.79%)
Mutual labels:  shiny, htmlwidgets
Rhandsontable
A htmlwidgets implementation of Handsontable.js
Stars: ✭ 320 (+144.27%)
Mutual labels:  shiny, htmlwidgets
Manipulatewidget
Add More Interactivity to htmlwidgets
Stars: ✭ 110 (-16.03%)
Mutual labels:  shiny, htmlwidgets
rfrappe
htmlwidget for frappe charts js library
Stars: ✭ 24 (-81.68%)
Mutual labels:  shiny, htmlwidgets
RagGrid
R interface to ag-grid.
Stars: ✭ 31 (-76.34%)
Mutual labels:  shiny, htmlwidgets
Explor
Interfaces for Multivariate Analysis in R
Stars: ✭ 157 (+19.85%)
Mutual labels:  shiny, htmlwidgets
Highcharter
R wrapper for highcharts
Stars: ✭ 583 (+345.04%)
Mutual labels:  shiny, htmlwidgets
rAmCharts4
An R interface to amCharts 4
Stars: ✭ 26 (-80.15%)
Mutual labels:  shiny, htmlwidgets
Scatterd3
R scatter plot htmlwidget based on D3.js
Stars: ✭ 135 (+3.05%)
Mutual labels:  shiny, htmlwidgets
lineup htmlwidget
HTMLWidget wrapper of LineUp for Visual Analysis of Multi-Attribute Rankings
Stars: ✭ 51 (-61.07%)
Mutual labels:  shiny, htmlwidgets
jsTreeR
A wrapper of the jQuery plugin `jsTree`.
Stars: ✭ 36 (-72.52%)
Mutual labels:  shiny, htmlwidgets
tagsinput
Bootstrap tags input for shiny
Stars: ✭ 20 (-84.73%)
Mutual labels:  shiny
cascadess
A style pronoun for {htmltools} tags
Stars: ✭ 18 (-86.26%)
Mutual labels:  shiny
ygdashboard
A modified shinydashboard to incorporate more functionality from adminLTE
Stars: ✭ 39 (-70.23%)
Mutual labels:  shiny
wired
Wired elements in Shiny
Stars: ✭ 46 (-64.89%)
Mutual labels:  shiny
IDBacApp
A MALDI Mass Spectrometry Bioinformatics Platform
Stars: ✭ 20 (-84.73%)
Mutual labels:  shiny

R-CMD-check CRAN status

Vue.js is a quiet, very popular JavaScript framework with an impressive set of features, a solid community, and MIT license. Don’t tell anybody, but I think I might even like it better than React. With all this, Vue deserves its own set of helpers for R, just like d3r and reactR.

vueR provides these helpers with its dependency function html_dependency_vue() and htmlwidget helper vue().

Installation

install.packages("vueR")

or for the latest if different from CRAN

remotes::install_github("vue-r/vueR")

Example

We’ll start with a recreation of the simple “Hello World” example from the Vue.js documentation. This is the hard way.

library(htmltools)
library(vueR)

browsable(
  tagList(
    html_dependency_vue(), # local and minimized by default
    tags$div(id="app","{{message}}"),
    tags$script(
    "
    var app = new Vue({
      el: '#app',
      data: {
        message: 'Hello Vue!'
      }
    });
    "
    )
  )
)

vueR gives us an htmlwidget that can ease the code burden from above.

library(vueR)
library(htmltools)

# recreate Hello Vue! example
browsable(
  tagList(
    tags$div(id="app", "{{message}}"),
    vue(
      list(
        el = "#app",
        data = list(
          message = "Hello Vue!"
        )
      )
    )
  )
)

Also, please check out additional examples and experiments.

Build/Update

vueR is now part of a Github organization, and hopefully will be backed with interest by more than one (me) developer. For most vueR users, this section will not apply, but I would like to document the build/update step for new versions of Vue. In getvue.R, I created some functions for rapid download and deployment of new Vue versions. Running all of the code in getvue.R should update local minified and development versions of Vue and also update the version references in vueR.

Code of Conduct

I would love for you to participate and help with vueR, but please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].