Learn R Programming

jsReact (version 0.2.4)

add_js_library: Add js libraries src files to html header

Description

Add js libraries src files to html header

Usage

add_js_library(my_html, js_libs)

Arguments

my_html

html in a vector of strings; output from 'create_html'.

js_libs

A vector of strings; JS libraries to use. Currently support 'plotly', 'p5', 'd3', 'vega'.