Assets for the echarts4r package.

Install

echarts4r is available from CRAN, echarts4r.assets is available from Github only:

Note

This is a large package due to the size of the high fidelity textures it contains (currently holding 11.6Mb of assets), it might take a small minute to install. However, this does not mean that it crowds tyour envrionment, on the contrary it includes but a few functions.

Assets

The following assets are available.

## Warning: package 'bindrcpp' was built under R version 3.4.4
##  [1] "clouds trans"      "clouds"            "world bw"         
##  [4] "world bump"        "composite 4k"      "elevation 4k"     
##  [7] "galaxy"            "jupiter"           "starfield"        
## [10] "world"             "world dark"        "world night"      
## [13] "world topo"        "canyon"            "lake"             
## [16] "pisa"              "leather albedo"    "leather height"   
## [19] "leather normal"    "leather roughness" "hatch0"           
## [22] "hatch1"            "hatch2"            "hatch3"           
## [25] "hatch4"            "hatch5"

Example

## Welcome to echarts4r
## 
## Documentation: echarts4r.john-coene.com
library(echarts4r.assets)

e_charts() %>% # initialise
  e_rm_axis("x") %>% # remove axis
  e_rm_axis("y") %>% 
  e_globe(
    environment = ea_asset("starfield"),
    base.texture = ea_asset("world")
  )